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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3355>
This commit is contained in:
Seungha Yang 2022-11-08 03:43:02 +09:00 committed by GStreamer Marge Bot
parent bb86728a1a
commit ded3e7c81a

View 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;
}