]> git.sesse.net Git - vlc/commit
OMX: Don't blindly set the input buffer size
authorMartin Storsjö <martin@martin.st>
Tue, 28 Aug 2012 14:07:47 +0000 (17:07 +0300)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 28 Aug 2012 15:55:08 +0000 (17:55 +0200)
commit7d4da02dae2b239323ed9b9246d4ecda5ed9e5fc
treec404696b52e9cf9edb4a921c89584691c71906e2
parent512b0a37768954aee13f08f55517025c1b230b9b
OMX: Don't blindly set the input buffer size

Keep it set to whatever the codec had set it to initially.

This makes the IOMX codecs work on Nexus 7.

This might also help for issues on Qualcomm devices (buffer sizes
that were too large on Nexus One, but restricting them broke
larger resolutions on HP TouchBook instead).

Optionally, one might need to call OMX_SetParameter/OMX_GetParameter
after setting the width/height to get a proper buffer size initialized
instead.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/codec/omxil/omxil.c