d3d11h264dec: Rearrange the order of supported profiles in caps
authorSeungha Yang <seungha@centricular.com>
Wed, 29 Apr 2020 17:41:07 +0000 (02:41 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 29 Apr 2020 18:13:42 +0000 (18:13 +0000)
constrained-baseline profile is much preferred than baseline.

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

sys/d3d11/gstd3d11h264dec.c

index 7f72ec6fa80c295017178796b58b946d469636b8..efd8a0d9f18a16f7358f2970aceaec03348426eb 100644 (file)
@@ -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, "