summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-04-01 11:56:20 +0300
committerTim-Philipp Müller <tim@centricular.com>2016-04-06 14:34:33 +0100
commitfa4484818142c017cdfd9defd4e5edfb4c93ae83 (patch)
treedbe5691c89dd1f211c33ef1fd54e1f27c38b1558
parent5742507bf7cafe242dc44bb499df109bc6ae3740 (diff)
downloadgstreamer-plugins-bad-fa4484818142c017cdfd9defd4e5edfb4c93ae83.tar.gz
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
-rw-r--r--gst/videoparsers/gsth264parse.c2
1 files changed, 1 insertions, 1 deletions
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;