V4L/DVB (13907): cx18: Perform automatic rotation of very old, unread IDX buffers
authorAndy Walls <awalls@radix.net>
Thu, 31 Dec 2009 21:27:13 +0000 (18:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:30 +0000 (15:10 -0300)
commitef99179710d6ec04d6783afdf8387523c7087920
tree5ebfa7487b704b598195021902239917269c57d0
parent79f3e96018dc55ff7819a6a1ac3740a1d7103589
V4L/DVB (13907): cx18: Perform automatic rotation of very old, unread IDX buffers

According to the v4l2 spec, very old MPEG index entries needs to be discarded
in favor of newer index entries.  This change ensures the firmware always has
buffers for index entries at the expense of the oldest unread buffers.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-mailbox.c
drivers/media/video/cx18/cx18-streams.c
drivers/media/video/cx18/cx18-streams.h