Commit f90e9ebc authored by Felix Abecassis's avatar Felix Abecassis

omxil: do not use iomx (Android) for audio decoding

parent 06ee1e11
...@@ -780,6 +780,11 @@ static int OpenDecoder( vlc_object_t *p_this ) ...@@ -780,6 +780,11 @@ static int OpenDecoder( vlc_object_t *p_this )
decoder_t *p_dec = (decoder_t*)p_this; decoder_t *p_dec = (decoder_t*)p_this;
int status; int status;
#ifdef __ANDROID__
if( p_dec->fmt_in.i_cat == AUDIO_ES )
return VLC_EGENERIC;
#endif
if( 0 || !GetOmxRole(p_dec->fmt_in.i_codec, p_dec->fmt_in.i_cat, false) ) if( 0 || !GetOmxRole(p_dec->fmt_in.i_codec, p_dec->fmt_in.i_cat, false) )
return VLC_EGENERIC; return VLC_EGENERIC;
......
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