[vlc-commits] mediacodec: add OMX_VIDEO_HEVCProfileMain10HDR10

Thomas Guillem git at videolan.org
Fri Jan 12 09:48:51 CET 2018


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jan 10 14:19:55 2018 +0100| [62a817e53cd1f042ad487d6898d7f500aa9284ec] | committer: Thomas Guillem

mediacodec: add OMX_VIDEO_HEVCProfileMain10HDR10

(cherry picked from commit b88eb97a98d81d45ac7b4c45617a588e18d5a092)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=62a817e53cd1f042ad487d6898d7f500aa9284ec
---

 modules/codec/omxil/mediacodec_jni.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/codec/omxil/mediacodec_jni.c b/modules/codec/omxil/mediacodec_jni.c
index ddf4f785ca..2ef6f60637 100644
--- a/modules/codec/omxil/mediacodec_jni.c
+++ b/modules/codec/omxil/mediacodec_jni.c
@@ -427,7 +427,8 @@ char* MediaCodec_GetName(vlc_object_t *p_obj, const char *psz_mime,
                                 case 0x1: /* OMX_VIDEO_HEVCProfileMain */
                                     codec_profile = HEVC_PROFILE_MAIN;
                                     break;
-                                case 0x2: /* OMX_VIDEO_HEVCProfileMain10 */
+                                case 0x2:    /* OMX_VIDEO_HEVCProfileMain10 */
+                                case 0x1000: /* OMX_VIDEO_HEVCProfileMain10HDR10 */
                                     codec_profile = HEVC_PROFILE_MAIN_10;
                                     break;
                             }



More information about the vlc-commits mailing list