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

mediacodec: exception in getCapabilitiesForType is not critical.

fix mediacodec with android-L on Nexus 7v2.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 6e2f49095619d027ba99020076b0aedc6cde7afe)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e49c91ef
......@@ -393,7 +393,7 @@ static int OpenDecoder(vlc_object_t *p_this)
msg_Warn(p_dec, "Exception occurred in MediaCodecInfo.getCapabilitiesForType");
(*env)->ExceptionClear(env);
(*env)->DeleteLocalRef(env, info);
break;
continue;
} else if (codec_capabilities) {
profile_levels = (*env)->GetObjectField(env, codec_capabilities, p_sys->profile_levels_field);
if (profile_levels)
......
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