[media] uvcvideo: Don't skip erroneous payloads
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 3 Nov 2011 10:24:34 +0000 (07:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 11 Dec 2011 13:14:31 +0000 (11:14 -0200)
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>

No differences found