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
This commit is contained in:
Sebastian Dröge 2016-04-01 11:56:20 +03:00
parent 5e80a99faf
commit 0fa43aaab4

View file

@ -1389,7 +1389,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;