From: Hans de Goede Date: Sat, 8 May 2010 11:55:42 +0000 (-0300) Subject: V4L/DVB: gspca_ovfx2: drop first frames in stream if not synced X-Git-Tag: v2.6.36-rc1~582^2~218 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6b6d7aef458e1c1ce6997929d38aaa48fe637c2;p=pandora-kernel.git 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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed