mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 05:28:48 +00:00
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
This commit is contained in:
parent
7b077cdcb9
commit
f4f935b6f4
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue