summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHe Junyan <junyan.he@intel.com>2021-06-15 21:36:43 +0800
committerTim-Philipp Müller <tim@centricular.com>2021-06-22 14:15:35 +0100
commit4e1adef05598e9d4b6c5ae4e95b1695019b41cf9 (patch)
tree8dda952a58886150353798cc0ee9e9b551173be8
parent33468eb32f11fb45363acd3396d38dde313eb2a4 (diff)
downloadgstreamer-plugins-bad-4e1adef05598e9d4b6c5ae4e95b1695019b41cf9.tar.gz
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/2350>
-rw-r--r--gst/videoparsers/gsth265parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/videoparsers/gsth265parse.c b/gst/videoparsers/gsth265parse.c
index a71e5e778..c5e5c065f 100644
--- a/gst/videoparsers/gsth265parse.c
+++ b/gst/videoparsers/gsth265parse.c
@@ -1809,7 +1809,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: