vlc | branch: master | Thomas Guillem <[email protected]> | 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
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to