mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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
This commit is contained in:
parent
5ff31d446e
commit
4e2cf393c0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue