]> git.sesse.net Git - vlc/commit
omxil: If OMX_IndexParamVideoInit failed, assume 2 ports with index 0 and 1
authorMartin Storsjö <martin@martin.st>
Sat, 3 Dec 2011 21:46:04 +0000 (23:46 +0200)
committerMartin Storsjö <martin@martin.st>
Sat, 2 Feb 2013 14:13:35 +0000 (16:13 +0200)
commit49362976f0f9dbe9e4b3968bee698f34e2a4cda5
tree97bcdd22585fc717cd906c56611c65aed49a2267
parentfab34784a588febf0f74afb45a69c374085c5f2c
omxil: If OMX_IndexParamVideoInit failed, assume 2 ports with index 0 and 1

This is required to use the OMX.google.* sw decoder components
(which are useful for testing).

Only do this workaround on android builds for now, to limit the
scope of the hack.

Signed-off-by: Martin Storsjö <martin@martin.st>
modules/codec/omxil/omxil.c