directsoundsink: Downgrade rank to match directsoundsrc in -bad
authorNirbheek Chauhan <nirbheek@centricular.com>
Thu, 1 Mar 2018 10:04:13 +0000 (15:34 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Thu, 1 Mar 2018 10:11:37 +0000 (15:41 +0530)
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

index b3a7f1c..cd2ce5d 100644 (file)
@@ -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;