Commit 85336e05 authored by Ming Hu's avatar Ming Hu Committed by Jean-Baptiste Kempf

omxil: ignore software codecs

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent a3653986
......@@ -860,8 +860,14 @@ static int OpenGeneric( vlc_object_t *p_this, bool b_encode )
}
/* Try to load and initialise a component */
omx_error = OMX_ErrorUndefined;
for(i = 0; i < p_sys->components; i++)
{
#ifdef __ANDROID__
/* ignore OpenCore software codecs */
if (!strncmp(p_sys->ppsz_components[i], "OMX.PV.", 7))
continue;
#endif
omx_error = InitialiseComponent(p_dec, p_sys->ppsz_components[i],
&p_sys->omx_handle);
if(omx_error == OMX_ErrorNone) break;
......
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