V4L/DVB: em28xx: rework buffer pointer tracking for offset to start of video
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Fri, 22 Jan 2010 05:34:32 +0000 (02:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:50:14 +0000 (00:50 -0300)
Rework the logic for tracking the amount of data copied to the VBI buffer, to
address problem found where the video lines are several bytes shifted to the
right (and the leading pixels in the first line rendered are garbage).  This
would occur because the copy function would advance the pointer when detecting
headers, but the caller would not adjust the length actually copied.

This work was sponsored by EyeMagnet Limited.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found