From: Nirbheek Chauhan Date: Thu, 1 Mar 2018 10:04:13 +0000 (+0530) Subject: directsoundsink: Downgrade rank to match directsoundsrc in -bad X-Git-Tag: 1.16.2~639 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e5d92243bc52a153a85347a52ab9aeaccc3a15a;p=platform%2Fupstream%2Fgst-plugins-good.git 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. --- diff --git a/sys/directsound/gstdirectsoundplugin.c b/sys/directsound/gstdirectsoundplugin.c index b3a7f1c..cd2ce5d 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;