alsadeviceprovider: Rank down to secondary so PulseAudio can hide it

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/727>
This commit is contained in:
Olivier Crête 2020-06-29 18:21:23 -04:00 committed by GStreamer Merge Bot
parent d5a677683e
commit 2f83ca5c7f

View file

@ -72,7 +72,7 @@ plugin_init (GstPlugin * plugin)
GST_TYPE_ALSA_MIDI_SRC)) GST_TYPE_ALSA_MIDI_SRC))
return FALSE; return FALSE;
if (!gst_device_provider_register (plugin, "alsadeviceprovider", if (!gst_device_provider_register (plugin, "alsadeviceprovider",
GST_RANK_PRIMARY, GST_TYPE_ALSA_DEVICE_PROVIDER)) GST_RANK_SECONDARY, GST_TYPE_ALSA_DEVICE_PROVIDER))
return FALSE; return FALSE;
GST_DEBUG_CATEGORY_INIT (alsa_debug, "alsa", 0, "alsa plugins"); GST_DEBUG_CATEGORY_INIT (alsa_debug, "alsa", 0, "alsa plugins");