summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-03-01 15:34:13 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-03-01 15:41:37 +0530
commit3e5d92243bc52a153a85347a52ab9aeaccc3a15a (patch)
tree784d5feca921c2a10fc5f6f6b9f2d63cba8f9aeb /sys
parent80d5c43a8108a3769c27e35117f51dde5135cd1d (diff)
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.
Diffstat (limited to 'sys')
-rw-r--r--sys/directsound/gstdirectsoundplugin.c2
1 files changed, 1 insertions, 1 deletions
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;