diff options
Diffstat (limited to 'ext/alsaspdif')
-rw-r--r-- | ext/alsaspdif/alsaspdifsink.c | 3 |
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; } |