From 3e5d92243bc52a153a85347a52ab9aeaccc3a15a Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 1 Mar 2018 15:34:13 +0530 Subject: directsoundsink: Downgrade rank to match directsoundsrc in -bad As stated in commit c2956036b8da4b8f22a63a4f5a254be03e870aa6 in -bad, the wasapi elements are now better than directsound, and should be preferred if they are available. For a later release, once the elements have more testing, we can consider moving them to -good. --- sys/directsound/gstdirectsoundplugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/directsound/gstdirectsoundplugin.c b/sys/directsound/gstdirectsoundplugin.c index b3a7f1c9c..cd2ce5d66 100644 --- a/sys/directsound/gstdirectsoundplugin.c +++ b/sys/directsound/gstdirectsoundplugin.c @@ -35,7 +35,7 @@ static gboolean plugin_init (GstPlugin * plugin) { - if (!gst_element_register (plugin, "directsoundsink", GST_RANK_PRIMARY, + if (!gst_element_register (plugin, "directsoundsink", GST_RANK_SECONDARY, GST_TYPE_DIRECTSOUND_SINK)) return FALSE; -- cgit v1.2.3