V4L/DVB (13122): gscpa - stv06xx + ov518: dont discard every other frame
authorHans de Goede <hdegoede@redhat.com>
Sun, 4 Oct 2009 17:04:47 +0000 (14:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 7 Nov 2009 14:55:05 +0000 (12:55 -0200)
commit1381dfd5150cfbdb5fa55ce7ab5ab56812111909
tree696f73f29c8ef42375c4c67114c7819e0398ab8c
parenta57c1dcb93e43357ed3f666e5a2b5d5071dd3930
V4L/DVB (13122): gscpa - stv06xx + ov518: dont discard every other frame

When we call gspca_frame_add, it returns a pointer to the frame passed in,
unless we call it with LAST_PACKET, when it will return a pointer to a
new frame in which to store the frame data for the next frame.

The frame pointer was not updated in stv06xx and ov518.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/ov519.c
drivers/media/video/gspca/stv06xx/stv06xx.c