]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (9031): uvcvideo: Fix incomplete frame drop when switching to a variable...
authorLaurent Pinchart <laurent.pinchart@skynet.be>
Tue, 16 Sep 2008 01:24:29 +0000 (22:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:37:08 +0000 (09:37 -0200)
commitd63beb9ef004ff9587b3c466361276254d57d7a7
tree76b06c29dc32ffd60d0b54e719da31b5d6d78b1e
parent80845e1078463913f8b456e45f1fae886687c363
V4L/DVB (9031): uvcvideo: Fix incomplete frame drop when switching to a variable size format.

When streaming in a fixed size format the driver sets a flag in the uvc_queue
structure to drop incomplete incoming frames. The flag wasn't cleared when
switching to a variable size format, which resulted in a broken
'MJPEG after YUV'.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_v4l2.c
drivers/media/video/uvc/uvc_video.c