[media] uvcvideo: Generate discontinuous sequence numbers when frames are lost
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sat, 2 Oct 2010 14:06:05 +0000 (11:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:18:20 +0000 (01:18 -0200)
commit650b95feee353305203724cb2e8b2bc50f6d130a
tree0649923ba63f58ef9eb0d28d463a23ac12a586d1
parent9bb7262de9c077ccccb129f47d128edb7af5f92e
[media] uvcvideo: Generate discontinuous sequence numbers when frames are lost

Increase the sequence number of the v4l2_buffer structure regardless of
any buffer states, so that discontinuous sequence numbers allow
applications to detect lost video frames.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_queue.c
drivers/media/video/uvc/uvc_video.c
drivers/media/video/uvc/uvcvideo.h