Commit 9dabc0a9 authored by Martin Storsjö's avatar Martin Storsjö

omxil: Ignore a codec that we know we don't work well with

This still keeps the mapping for VC1 and WMV3 that works fine on
e.g. Samsung Galaxy S3, without negatively affecting other devices
that expose decoders with this role but that we don't work well
with.
Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 1937a483
...@@ -1007,6 +1007,12 @@ loaded: ...@@ -1007,6 +1007,12 @@ loaded:
* using SW codecs is usually more than fast enough for MP3.) */ * using SW codecs is usually more than fast enough for MP3.) */
if (!strcmp(p_sys->ppsz_components[i], "OMX.SEC.MP3.Decoder")) if (!strcmp(p_sys->ppsz_components[i], "OMX.SEC.MP3.Decoder"))
continue; continue;
/* This codec should be able to handle both VC1 and WMV3, but
* for VC1 it doesn't output any buffers at all (in the way we use
* it) and for WMV3 it outputs plain black buffers. Thus ignore
* it until we can make it work properly. */
if (!strcmp(p_sys->ppsz_components[i], "OMX.Nvidia.vc1.decode"))
continue;
#endif #endif
omx_error = InitialiseComponent(p_dec, p_sys->ppsz_components[i], omx_error = InitialiseComponent(p_dec, p_sys->ppsz_components[i],
&p_sys->omx_handle); &p_sys->omx_handle);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment