diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2007-02-02 11:09:50 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2007-02-02 11:09:50 +0000 |
commit | 144b320afec7e17795a855fd2468dc9f23196a14 (patch) | |
tree | f14354aee2cdbc375a63d9342ed368ce0bab8abe | |
parent | 6b9ccde0a030437554e68e862c6c071f51c35994 (diff) | |
download | gst-plugins-bad-144b320afec7e17795a855fd2468dc9f23196a14.tar.gz gst-plugins-bad-144b320afec7e17795a855fd2468dc9f23196a14.tar.bz2 gst-plugins-bad-144b320afec7e17795a855fd2468dc9f23196a14.zip |
ext/alsaspdif/alsaspdifsink.c: Set rank to NONE so that it doesn't get autoplugged by autoaudiosink (which didn't hap...
Original commit message from CVS:
* 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).
-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; } |