diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ext/alsaspdif/alsaspdifsink.c | 3 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2007-02-02 Tim-Philipp Müller <tim at centricular dot net> + + * ext/alsaspdif/alsaspdifsink.c: (plugin_init): + Set rank to NONE so that it doesn't get autoplugged by autoaudiosink + (which didn't happen previously because the klass string didn't + contain anything autoaudiosink was looking for). + 2007-01-31 Stefan Kost <ensonic@users.sf.net> * gst/real/gstrealaudiodec.c: diff --git a/ext/alsaspdif/alsaspdifsink.c b/ext/alsaspdif/alsaspdifsink.c index 514e1c3d..f59a1563 100644 --- a/ext/alsaspdif/alsaspdifsink.c +++ b/ext/alsaspdif/alsaspdifsink.c @@ -822,7 +822,8 @@ alsaspdifsink_change_state (GstElement * element, GstStateChange transition) static gboolean plugin_init (GstPlugin * plugin) { - if (!gst_element_register (plugin, "alsaspdifsink", GST_RANK_PRIMARY, + /* no rank so it doesn't get autoplugged by autoaudiosink */ + if (!gst_element_register (plugin, "alsaspdifsink", GST_RANK_NONE, GST_TYPE_ALSASPDIFSINK)) { return FALSE; } |