[vlc-devel] [PATCH 3/3] mediacodec: exception in getCapabilitiesForType is not critical.
Thomas Guillem
tom at gllm.fr
Tue Oct 14 11:35:57 CEST 2014
fix mediacodec with android-L on Nexus 7v2.
---
modules/codec/omxil/android_mediacodec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/omxil/android_mediacodec.c b/modules/codec/omxil/android_mediacodec.c
index 72832f4..af67fad 100644
--- a/modules/codec/omxil/android_mediacodec.c
+++ b/modules/codec/omxil/android_mediacodec.c
@@ -400,7 +400,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)
--
2.1.0
More information about the vlc-devel
mailing list