From: Frank Schaefer Date: Sun, 25 Nov 2012 09:37:34 +0000 (-0300) Subject: [media] em28xx: fix capture type setting in em28xx_urb_data_copy_vbi() X-Git-Tag: v3.9-rc1~93^2~421 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0455eebfbd6c286552f9d98bdc6614dfbdd63682;p=pandora-kernel.git [media] em28xx: fix capture type setting in em28xx_urb_data_copy_vbi() Set capture type to 1 (video start) when the video frame start header is detected. This bug didn't cause any trouble, because this type of header is never received in vbi mode. Fix it, because we want to use this function with disabled vbi in the future. Also start with capture type -1 to avoid processing of corrupted/incomplete frame data which is usually received at streaming start (especially when USB bulk transfers are used). Signed-off-by: Frank Schäfer Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed