From: Andy Walls Date: Wed, 11 Nov 2009 02:28:30 +0000 (-0300) Subject: V4L/DVB (13431): cx18: Adjust an MDL's final buffer size to force encoder transfer... X-Git-Tag: v2.6.33-rc1~338^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1047a83844a4d894a068d94aca2d3efe54ac7a9c;p=pandora-kernel.git V4L/DVB (13431): cx18: Adjust an MDL's final buffer size to force encoder transfer size The encoder was not honoring the MDL size sent in DE_SET_MDL mailbox commands. This change adjusts the size of the last buffer in an MDL, as reported to the firmware, so that the encoder will send the exact amount of bytes we specify per MDL transfer. This eliminates tearing in YUV playback when using non-default YUV buffer sizes. Signed-off-by: Andy Walls Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed