Stefan,

This fix the ugly green line on the top.

btw, do you notice that there seem to be black gap on the left and
right of the screen?

On Fri, May 7, 2010 at 11:46 PM, Stefan Ringel <[email protected]> wrote:
> Am 07.05.2010 17:29, schrieb [email protected]:
>> From: Stefan Ringel <[email protected]>
>>
>> bugfix incorrect image and line position in videobuffer
>>
>>
>> Signed-off-by: Stefan Ringel <[email protected]>
>> ---
>>  drivers/staging/tm6000/tm6000-video.c |    4 ++--
>>  1 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/staging/tm6000/tm6000-video.c 
>> b/drivers/staging/tm6000/tm6000-video.c
>> index 9554472..f7248f0 100644
>> --- a/drivers/staging/tm6000/tm6000-video.c
>> +++ b/drivers/staging/tm6000/tm6000-video.c
>> @@ -223,8 +223,8 @@ static int copy_packet(struct urb *urb, u32 header, u8 
>> **ptr, u8 *endp,
>>                        * It should, instead, check if the user selected
>>                        * entrelaced or non-entrelaced mode
>>                        */
>> -                     pos= ((line<<1)+field)*linewidth +
>> -                             block*TM6000_URB_MSG_LEN;
>> +                     pos = ((line << 1) - field - 1) * linewidth +
>> +                             block * TM6000_URB_MSG_LEN;
>>
>>                       /* Don't allow to write out of the buffer */
>>                       if (pos+TM6000_URB_MSG_LEN > (*buf)->vb.size) {
>>
>
>
> http://www.stefanringel.de/pub/tm6000_image_07_05_2010.jpg
>
> --
> Stefan Ringel <[email protected]>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to