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

Jean-Baptiste Kempf jb at videolan.org
Fri Oct 11 13:36:12 CEST 2019


OK.

On Fri, Oct 11, 2019, at 13:28, Marvin Scholz wrote:
> 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)
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
Jean-Baptiste Kempf -  President
+33 672 704 734


More information about the vlc-devel mailing list