Commit 5290741d authored by Martin Storsjö's avatar Martin Storsjö Committed by Rafaël Carré

mediacodec: Update a comment with the current state of affairs

Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent de67a476
...@@ -300,8 +300,8 @@ static int OpenDecoder(vlc_object_t *p_this) ...@@ -300,8 +300,8 @@ static int OpenDecoder(vlc_object_t *p_this)
} }
// This method doesn't handle errors nicely, it crashes if the codec isn't found. // 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 // (The same goes for createDecoderByType.) This is fixed in latest AOSP and in 4.2,
// in current 4.1 devices. // but not in 4.1 devices.
p_sys->codec = (*env)->CallStaticObjectMethod(env, p_sys->media_codec_class, p_sys->codec = (*env)->CallStaticObjectMethod(env, p_sys->media_codec_class,
p_sys->create_by_codec_name, codec_name); p_sys->create_by_codec_name, codec_name);
p_sys->codec = (*env)->NewGlobalRef(env, p_sys->codec); p_sys->codec = (*env)->NewGlobalRef(env, p_sys->codec);
......
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