]> git.sesse.net Git - vlc/commit
omxil: Only set the buffer size if it is smaller than what the codec suggested
authorMartin Storsjö <martin@martin.st>
Thu, 21 Jul 2011 11:06:07 +0000 (14:06 +0300)
committerRafaël Carré <funman@videolan.org>
Mon, 25 Jun 2012 19:26:25 +0000 (21:26 +0200)
commit3c9c56db0839dc2d564bbe8b02fbefe43c3dcbad
treebd7d734032c130ce816594928781d126928d52c5
parent960e3780ceab96d45d9887a0149686f9940b825d
omxil: Only set the buffer size if it is smaller than what the codec suggested

This is required on HTC Sensation. That device uses a special
tiled pixel format, which probably contains a bit of padding, too.
The size that the omx codec suggests for the output port is bigger
than what VLC calculates, and we thus should keep the larger value
instead of overwriting it with what we calculated ourselves.

Signed-off-by: Rafaël Carré <funman@videolan.org>
modules/codec/omxil/omxil.c