[vlc-devel] [PATCH] codec: omxil: Fix build

Marvin Scholz epirat07 at gmail.com
Fri Oct 11 13:28:43 CEST 2019


Co-authored-by: Steve Lhomme <robux4 at ycbcr.xyz>
---
 modules/codec/omxil/mediacodec_jni.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/omxil/mediacodec_jni.c b/modules/codec/omxil/mediacodec_jni.c
index fa0f66e7ae..3a3a71c745 100644
--- a/modules/codec/omxil/mediacodec_jni.c
+++ b/modules/codec/omxil/mediacodec_jni.c
@@ -425,11 +425,11 @@ char* MediaCodec_GetName(vlc_object_t *p_obj, const char *psz_mime,
                             switch (omx_profile)
                             {
                                 case 0x1: /* OMX_VIDEO_HEVCProfileMain */
-                                    codec_profile = HEVC_PROFILE_MAIN;
+                                    codec_profile = VLC_HEVC_PROFILE_MAIN;
                                     break;
                                 case 0x2:    /* OMX_VIDEO_HEVCProfileMain10 */
                                 case 0x1000: /* OMX_VIDEO_HEVCProfileMain10HDR10 */
-                                    codec_profile = HEVC_PROFILE_MAIN_10;
+                                    codec_profile = VLC_HEVC_PROFILE_MAIN_10;
                                     break;
                             }
                         }
-- 
2.20.1 (Apple Git-117)



More information about the vlc-devel mailing list