From ed147a3b48999a1c0e997417b59e0ce4f96a7cb2 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Thu, 30 Apr 2020 02:41:07 +0900 Subject: [PATCH] d3d11h264dec: Rearrange the order of supported profiles in caps constrained-baseline profile is much preferred than baseline. Part-of: --- sys/d3d11/gstd3d11h264dec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/d3d11/gstd3d11h264dec.c b/sys/d3d11/gstd3d11h264dec.c index 7f72ec6fa8..efd8a0d9f1 100644 --- a/sys/d3d11/gstd3d11h264dec.c +++ b/sys/d3d11/gstd3d11h264dec.c @@ -1218,7 +1218,8 @@ 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, baseline, constrained-baseline }, " + "alignment= (string) au, " + "profile = (string) { high, main, constrained-baseline, baseline }, " "framerate = " GST_VIDEO_FPS_RANGE); src_caps = gst_caps_from_string ("video/x-raw(" GST_CAPS_FEATURE_MEMORY_D3D11_MEMORY "), format = (string) NV12, "