summaryrefslogtreecommitdiffstats
path: root/ext/alsaspdif
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-02-02 11:09:50 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-02-02 11:09:50 +0000
commit144b320afec7e17795a855fd2468dc9f23196a14 (patch)
treef14354aee2cdbc375a63d9342ed368ce0bab8abe /ext/alsaspdif
parent6b9ccde0a030437554e68e862c6c071f51c35994 (diff)
downloadgst-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).
Diffstat (limited to 'ext/alsaspdif')
-rw-r--r--ext/alsaspdif/alsaspdifsink.c3
1 files changed, 2 insertions, 1 deletions
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;
}