Commit 4e2cf393 authored by Arun Raghavan's avatar Arun Raghavan
Browse files

pulseaudiosink: Lower rank to prevent autoplugging

pulseaudiosink breaks visualisations in its current form, so let's
prevent it from being autoplugged for the time being.

The best we can hope to do in the 0.10 series is query the list of
available sinks and their formats, and expose these as the bin's sinkpad
caps. While this is not a comprehensive solution, it will make sure that
we're only trying to support compressed formats if we're certain that
one exists.

The long-term fix for this will be in the form of proper upstream
renegotiation support in the 0.11/1.0 series.

https://bugzilla.gnome.org/show_bug.cgi?id=666361
parent 5ff31d44
......@@ -50,7 +50,7 @@ plugin_init (GstPlugin * plugin)
return FALSE;
#ifdef HAVE_PULSE_1_0
if (!gst_element_register (plugin, "pulseaudiosink", GST_RANK_PRIMARY + 11,
if (!gst_element_register (plugin, "pulseaudiosink", GST_RANK_MARGINAL - 1,
GST_TYPE_PULSE_AUDIO_SINK))
return FALSE;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment