alsadeviceprovider: Rank down to secondary so PulseAudio can hide it
authorOlivier CrĂȘte <olivier.crete@collabora.com>
Mon, 29 Jun 2020 22:21:23 +0000 (18:21 -0400)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 6 Jul 2020 16:32:21 +0000 (16:32 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/727>

ext/alsa/gstalsaplugin.c

index 90899fe610a61719f067336dc39a2c1eda1c28fa..ec3fbedc315b9bc0c8090abfeda30a15dbdb97c2 100644 (file)
@@ -72,7 +72,7 @@ plugin_init (GstPlugin * plugin)
           GST_TYPE_ALSA_MIDI_SRC))
     return FALSE;
   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;
 
   GST_DEBUG_CATEGORY_INIT (alsa_debug, "alsa", 0, "alsa plugins");