openh264dec: Accept constrained-high and progressive-high profiles
authorOlivier Crête <olivier.crete@collabora.com>
Fri, 2 Oct 2020 22:47:16 +0000 (18:47 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Wed, 18 Nov 2020 20:47:36 +0000 (15:47 -0500)
They're just subsets of the high profile.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1634>

docs/plugins/gst_plugins_cache.json
ext/openh264/gstopenh264dec.cpp

index 3eb0e08..9dad19d 100644 (file)
                 "long-name": "OpenH264 video decoder",
                 "pad-templates": {
                     "sink": {
-                        "caps": "video/x-h264:\n  stream-format: byte-stream\n      alignment: au\n        profile: { (string)constrained-baseline, (string)baseline, (string)main, (string)high }\n",
+                        "caps": "video/x-h264:\n  stream-format: byte-stream\n      alignment: au\n        profile: { (string)constrained-baseline, (string)baseline, (string)main, (string)high, (string)constrained-high, (string)progressive-high }\n",
                         "direction": "sink",
                         "presence": "always"
                     },
index f49a4d3..e608380 100644 (file)
@@ -61,7 +61,7 @@ static gboolean gst_openh264dec_decide_allocation (GstVideoDecoder * decoder,
     GstQuery * query);
 
 #if HAVE_OPENH264_MAIN_PROFILE
-#define SUPPORTED_PROFILE_STR "profile=(string){ constrained-baseline, baseline, main, high }"
+#define SUPPORTED_PROFILE_STR "profile=(string){ constrained-baseline, baseline, main, high, constrained-high, progressive-high }"
 #else
 #define SUPPORTED_PROFILE_STR "profile=(string){ constrained-baseline, baseline }"
 #endif