[vlc-devel] [PATCH 1/4] mediacodec: Update a comment with the current state of affairs
Martin Storsjö
martin at martin.st
Wed Jan 30 11:54:05 CET 2013
---
modules/codec/omxil/android_mediacodec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/codec/omxil/android_mediacodec.c b/modules/codec/omxil/android_mediacodec.c
index 520c525..e8df410 100644
--- a/modules/codec/omxil/android_mediacodec.c
+++ b/modules/codec/omxil/android_mediacodec.c
@@ -301,8 +301,8 @@ static int OpenDecoder(vlc_object_t *p_this)
}
// This method doesn't handle errors nicely, it crashes if the codec isn't found.
- // (The same goes for createDecoderByType.) This is fixed in latest AOSP, but not
- // in current 4.1 devices.
+ // (The same goes for createDecoderByType.) This is fixed in latest AOSP and in 4.2,
+ // but not in 4.1 devices.
p_sys->codec = (*env)->CallStaticObjectMethod(env, p_sys->media_codec_class,
p_sys->create_by_codec_name, codec_name);
p_sys->codec = (*env)->NewGlobalRef(env, p_sys->codec);
--
1.7.10.4
More information about the vlc-devel
mailing list