[vlc-commits] mediacodec: exception in getCapabilitiesForType is not critical.
Thomas Guillem
git at videolan.org
Tue Oct 14 15:44:59 CEST 2014
vlc | branch: master | Thomas Guillem <tom at gllm.fr> | Tue Oct 14 11:35:57 2014 +0200| [6e2f49095619d027ba99020076b0aedc6cde7afe] | committer: Jean-Baptiste Kempf
mediacodec: exception in getCapabilitiesForType is not critical.
fix mediacodec with android-L on Nexus 7v2.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6e2f49095619d027ba99020076b0aedc6cde7afe
---
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 ece9df9..44184c6 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)
More information about the vlc-commits
mailing list