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
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: