d3d11h264dec: Accept constrained-high and progressive-high profiles
authorOlivier Crête <olivier.crete@collabora.com>
Fri, 2 Oct 2020 22:47:06 +0000 (18:47 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Wed, 18 Nov 2020 20:47:34 +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>

sys/d3d11/gstd3d11h264dec.c

index fe10352..d5370c5 100644 (file)
@@ -1285,7 +1285,7 @@ gst_d3d11_h264_dec_register (GstPlugin * plugin, GstD3D11Device * device,
   sink_caps = gst_caps_from_string ("video/x-h264, "
       "stream-format= (string) { avc, avc3, byte-stream }, "
       "alignment= (string) au, "
-      "profile = (string) { high, main, constrained-baseline, baseline }");
+      "profile = (string) { high, progressive-high, constrained-high, main, constrained-baseline, baseline }");
   src_caps = gst_caps_from_string ("video/x-raw("
       GST_CAPS_FEATURE_MEMORY_D3D11_MEMORY "), format = (string) NV12; "
       "video/x-raw, format = (string) NV12");