From ded3e7c81a30f8b3d6c8783d94be6b90489c1ac3 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Tue, 8 Nov 2022 03:43:02 +0900 Subject: [PATCH] directshow: Demote rank of device provider to GST_RANK_NONE 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: --- subprojects/gst-plugins-bad/sys/directshow/plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/sys/directshow/plugin.cpp b/subprojects/gst-plugins-bad/sys/directshow/plugin.cpp index 7db55a8..b308858 100644 --- a/subprojects/gst-plugins-bad/sys/directshow/plugin.cpp +++ b/subprojects/gst-plugins-bad/sys/directshow/plugin.cpp @@ -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; } -- 2.7.4