diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2018-03-06 15:18:46 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2018-04-25 09:12:45 +0200 |
commit | 5a5bf4b3e302d8f3d7541c26bb7ceff4f11c1628 (patch) | |
tree | e66c3ce6fa17c170773e21b2a2834995ae4bcac1 /gst | |
parent | cb1b143b5b847e2320a58a6eb7af132eba685c9c (diff) | |
download | gstreamer-plugins-bad-5a5bf4b3e302d8f3d7541c26bb7ceff4f11c1628.tar.gz |
h264parse: add constrained and progressive profiles
Those profiles have been added in the version 2012-01
and 2011-06 of the AVC spec.
https://bugzilla.gnome.org/show_bug.cgi?id=794127
Diffstat (limited to 'gst')
-rw-r--r-- | gst/videoparsers/gsth264parse.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index 7751ea21a..903d204ad 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -1629,11 +1629,19 @@ get_profile_string (GstH264SPS * sps) profile = "extended"; break; case 100: - profile = "high"; + if (sps->constraint_set4_flag) { + if (sps->constraint_set5_flag) + profile = "constrained-high"; + else + profile = "progressive-high"; + } else + profile = "high"; break; case 110: if (sps->constraint_set3_flag) profile = "high-10-intra"; + else if (sps->constraint_set4_flag) + profile = "progressive-high-10"; else profile = "high-10"; break; |