commit | d6b6d7aef458e1c1ce6997929d38aaa48fe637c2 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sat May 08 08:55:42 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Aug 02 14:06:03 2010 -0300 |
tree | 2f937c093e04cb4063633535ff528a2f1cb5e59f | |
parent | ccfb30288228aaaf40a849bffe434bc9eb46b23c [diff] |
V4L/DVB: gspca_ovfx2: drop first frames in stream if not synced With the ovfx2 bridge sometimes the first few frames in a stream would be no good, as the bridge and sensor are not in complete hsync / vsync yet. This can easily be detected by checking the framesize. So if the framesize is short and it is one of the 1ste 3 frames after an sd_start, drop it. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>