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>
Showing
Please register or sign in to comment