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: Martin Storsjö <martin@martin.st>
* using SW codecs is usually more than fast enough for MP3.) */
if (!strcmp(p_sys->ppsz_components[i], "OMX.SEC.MP3.Decoder"))
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
omx_error = InitialiseComponent(p_dec, p_sys->ppsz_components[i],
&p_sys->omx_handle);