summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWangfei <fei.w.wang@intel.com>2018-09-19 10:16:36 +0800
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2018-09-18 13:28:42 +0200
commit3cdac1ed22d5df6b7c01cc5ecd43c6b2ca45364a (patch)
tree1b834580207112eaa35eac55da43681e851db8c4
parent295859a89a6f65727fed0b7f7ca48728a43bc444 (diff)
libs: dec: h265: fix the macros used for IDC profile
profile_idc flag in SPS only indicate the IDC profile, which may need some other flags together to get the real profile. https://bugzilla.gnome.org/show_bug.cgi?id=797160
-rw-r--r--gst-libs/gst/vaapi/gstvaapiutils_h265.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiutils_h265.c b/gst-libs/gst/vaapi/gstvaapiutils_h265.c
index 24199b91..ef43b3c9 100644
--- a/gst-libs/gst/vaapi/gstvaapiutils_h265.c
+++ b/gst-libs/gst/vaapi/gstvaapiutils_h265.c
@@ -137,13 +137,13 @@ gst_vaapi_utils_h265_get_profile (guint8 profile_idc)
GstVaapiProfile profile;
switch (profile_idc) {
- case GST_H265_PROFILE_MAIN:
+ case GST_H265_PROFILE_IDC_MAIN:
profile = GST_VAAPI_PROFILE_H265_MAIN;
break;
- case GST_H265_PROFILE_MAIN_10:
+ case GST_H265_PROFILE_IDC_MAIN_10:
profile = GST_VAAPI_PROFILE_H265_MAIN10;
break;
- case GST_H265_PROFILE_MAIN_STILL_PICTURE:
+ case GST_H265_PROFILE_IDC_MAIN_STILL_PICTURE:
profile = GST_VAAPI_PROFILE_H265_MAIN_STILL_PICTURE;
break;
default: