Commit dd9c3f04 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

mediacodec: don't use MTK MPEG4 decoders

Fix a crash with android mediaserver
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 3ca2ce1e
......@@ -444,6 +444,8 @@ static int OpenDecoder(vlc_object_t *p_this)
if (!strncmp(name_ptr, "OMX.google.", __MIN(11, name_len)))
goto loopclean;
if (!strncmp(name_ptr, "OMX.MTK.VIDEO.DECODER.MPEG4", name_len))
goto loopclean;
for (int j = 0; j < num_types && !found; j++) {
jobject type = (*env)->GetObjectArrayElement(env, types, j);
if (!jstrcmp(env, type, mime)) {
......
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