From fa4484818142c017cdfd9defd4e5edfb4c93ae83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 1 Apr 2016 11:56:20 +0300 Subject: h264parse: constrained-baseline is a subset of baseline We get into this code path if the profile is already constrained-baseline and downstream does not support constrained-baseline. So we should try baseline and the other compatible profiles. https://bugzilla.gnome.org/show_bug.cgi?id=764448 --- gst/videoparsers/gsth264parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index 166e5e70b..eac9d5e37 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -1391,7 +1391,7 @@ get_compatible_profile_caps (GstH264SPS * sps) case GST_H264_PROFILE_BASELINE: if (sps->constraint_set1_flag) { /* A.2.1 */ static const gchar *profile_array[] = - { "constrained-baseline", "main", "high", "high-10", "high-4:2:2", + { "baseline", "main", "high", "high-10", "high-4:2:2", "high-4:4:4", NULL }; profiles = profile_array; -- cgit v1.2.1