From 14cc51cddc49af07017cf6c91a55fdebf952d714 Mon Sep 17 00:00:00 2001 From: Sreerenj Balachandran Date: Fri, 29 Jul 2016 16:32:22 +0300 Subject: [PATCH] videoparsers: h264: Add more scalable profiles to the profile list Adding Scalable Constrained High (G.10.1.2.1) and Scalable High Intra(G.10.1.3) profiles to the profile list https://bugzilla.gnome.org/show_bug.cgi?id=769303 --- gst/videoparsers/gsth264parse.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index e09fd99c10..095a6453e4 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -1635,7 +1635,12 @@ get_profile_string (GstH264SPS * sps) profile = "scalable-baseline"; break; case 86: - profile = "scalable-high"; + if (sps->constraint_set3_flag) + profile = "scalable-high-intra"; + else if (sps->constraint_set5_flag) + profile = "scalable-constrained-high"; + else + profile = "scalable-high"; break; default: return NULL;