h265parse: Fix a typo in get_compatible_profile_caps().

The GST_H265_PROFILE_MAIN_444_10 profile should be compatible with
GST_H265_PROFILE_SCREEN_EXTENDED_MAIN_444_10, not the current
GST_H265_PROFILE_SCREEN_EXTENDED_MAIN_10.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2328>
This commit is contained in:
He Junyan 2021-06-15 21:36:43 +08:00 committed by GStreamer Marge Bot
parent 0d746d1022
commit 7feed2f1ac

View file

@ -1813,7 +1813,8 @@ get_compatible_profile_caps (GstH265SPS * sps, GstH265Profile profile)
case GST_H265_PROFILE_MAIN_444_10:
{
/* A.3.7 */
profiles |= profile_to_flag (GST_H265_PROFILE_SCREEN_EXTENDED_MAIN_10);
profiles |=
profile_to_flag (GST_H265_PROFILE_SCREEN_EXTENDED_MAIN_444_10);
break;
}
case GST_H265_PROFILE_HIGH_THROUGHPUT_444: