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).
This commit is contained in:
Tim-Philipp Müller 2007-02-02 11:09:50 +00:00
parent 6b9ccde0a0
commit 144b320afe
2 changed files with 9 additions and 1 deletions

View file

@ -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> 2007-01-31 Stefan Kost <ensonic@users.sf.net>
* gst/real/gstrealaudiodec.c: * gst/real/gstrealaudiodec.c:

View file

@ -822,7 +822,8 @@ alsaspdifsink_change_state (GstElement * element, GstStateChange transition)
static gboolean static gboolean
plugin_init (GstPlugin * plugin) 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)) { GST_TYPE_ALSASPDIFSINK)) {
return FALSE; return FALSE;
} }