diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-11-03 07:24:34 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-11 11:14:31 -0200 |
commit | 3afedb95858bcc117b207a7c0a6767fe891bdfe9 (patch) | |
tree | cf21cbf7f8fb866ab281544b9a33d387a2cad7aa /drivers/media/video/uvc/uvcvideo.h | |
parent | 0c6a3b268e14ab99960028c9ad202b9aebae0a03 (diff) |
[media] uvcvideo: Don't skip erroneous payloads
Instead of skipping the payload completely, which would make the
resulting image corrupted anyway, store the payload normally and mark
the buffer as erroneous. If the no_drop module parameter is set to 1 the
buffer will then be passed to userspace, and tt will then be up to the
application to decide what to do with the buffer.
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/uvcvideo.h')
0 files changed, 0 insertions, 0 deletions