From: Laurent Pinchart Date: Thu, 17 Jun 2010 09:52:37 +0000 (-0300) Subject: V4L/DVB: uvcvideo: Drop corrupted compressed frames X-Git-Tag: v2.6.36-rc1~289^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bde9f263e958b0d588aada03854fcc0f0c88b86;p=pandora-kernel.git V4L/DVB: uvcvideo: Drop corrupted compressed frames Corrupted video frames are dropped by default by the driver for uncompressed formats. Data corruption is not less problematic for compressed formats, so frame drop should be enabled by default for those formats as well. Mark buffers as faulty when an isochronous packet loss is detected for any format, or when the buffer length doesn't match the image size for uncompressed formats. Drop erroneous buffers regardless of whether the format is compressed or uncompressed. Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed