directshow: Demote rank of device provider to GST_RANK_NONE
authorSeungha Yang <seungha@centricular.com>
Mon, 7 Nov 2022 18:43:02 +0000 (03:43 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 9 Nov 2022 00:30:45 +0000 (00:30 +0000)
Current directshow plugin seems to be unstable and unmaintained
for many many years.

See
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3323
and
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1828

Disable this device provider by default to avoid any side-effect
of this plugin

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3355>

subprojects/gst-plugins-bad/sys/directshow/plugin.cpp

index 7db55a8..b308858 100644 (file)
@@ -60,7 +60,7 @@ plugin_init (GstPlugin * plugin)
       GST_RANK_NONE, GST_TYPE_DSHOWVIDEOSRC);
 
   gst_device_provider_register (plugin, "dshowdeviceprovider",
-      GST_RANK_MARGINAL, GST_TYPE_DSHOW_DEVICE_PROVIDER);
+      GST_RANK_NONE, GST_TYPE_DSHOW_DEVICE_PROVIDER);
 
   return TRUE;
 }