From: Hans Verkuil Date: Sat, 28 Jul 2007 15:07:12 +0000 (-0300) Subject: V4L/DVB (6046): ivtv: always steal full frames if out of buffers. X-Git-Tag: v2.6.24-rc1~1463^2~213 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4071b85ea0ca3bd06f63c330562b4cfdffa8473;p=pandora-kernel.git V4L/DVB (6046): ivtv: always steal full frames if out of buffers. When there are no more free buffers, then buffers are stolen from the predma queue. Buffers should be stolen from the head of that queue (which is where the most recently added buffers are) and all buffers belonging to a frame should be stolen. Otherwise 'half-frames' would remain in the queue, which leads to ugly playback and complete sync failure for YUV buffers. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed