diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-06-17 06:52:37 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-08 23:43:01 -0300 |
commit | 9bde9f263e958b0d588aada03854fcc0f0c88b86 (patch) | |
tree | c27ae43a84136e18908a9a4d3bd9b541be6db9d8 /drivers/media/video/uvc/uvc_driver.c | |
parent | df49d113d16b18070b3d51832f3a02145eeb354b (diff) | |
download | blackbird-op-linux-9bde9f263e958b0d588aada03854fcc0f0c88b86.tar.gz blackbird-op-linux-9bde9f263e958b0d588aada03854fcc0f0c88b86.zip |
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 <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/uvc/uvc_driver.c')
0 files changed, 0 insertions, 0 deletions