From 03d710bd40655b434d087092476d166b20b58692 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Fri, 2 Oct 2020 18:47:16 -0400 Subject: [PATCH] openh264dec: Accept constrained-high and progressive-high profiles They're just subsets of the high profile. Part-of: --- docs/plugins/gst_plugins_cache.json | 2 +- ext/openh264/gstopenh264dec.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index 3eb0e08..9dad19d 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -213539,7 +213539,7 @@ "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" }, diff --git a/ext/openh264/gstopenh264dec.cpp b/ext/openh264/gstopenh264dec.cpp index f49a4d3..e608380 100644 --- a/ext/openh264/gstopenh264dec.cpp +++ b/ext/openh264/gstopenh264dec.cpp @@ -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 -- 2.7.4