[vlc-commits] mediacodec: ndk: fix undefined behavior with Hi10P profile

Thomas Guillem git at videolan.org
Mon Jun 1 17:34:31 CEST 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jun  1 16:45:08 2015 +0200| [4aa9e1ce4acf910eb76499472eb97c357f32b953] | committer: Thomas Guillem

mediacodec: ndk: fix undefined behavior with Hi10P profile

Even the latest android version (Nexus 10 5.1.1) have an undefined behavior
when playing a H264 Hi10P video

As there is no public API in NDK to get the MediaCodecList in order to list the
supported profiles, use the API from JNI.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4aa9e1ce4acf910eb76499472eb97c357f32b953
---

 modules/codec/omxil/mediacodec.c     |   22 ++++++++--
 modules/codec/omxil/mediacodec.h     |    8 ++--
 modules/codec/omxil/mediacodec_jni.c |   79 +++++++++++++++++-----------------
 modules/codec/omxil/mediacodec_ndk.c |   18 ++++----
 4 files changed, 70 insertions(+), 57 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=4aa9e1ce4acf910eb76499472eb97c357f32b953


More information about the vlc-commits mailing list