summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-06-17 14:40:51 +0000
committerLennart Poettering <lennart@poettering.net>2006-06-17 14:40:51 +0000
commitbb09550fc663e920ae11ddbee946cdb8cbee2883 (patch)
treeb6d6719dff17adc38458eddd2783cf7a7eeb925a
parentbc89541505ef1fdb81f7c9ce9a1b8f5ddea403b2 (diff)
merge patch from Jan Schmidt: modify plugin RANK
git-svn-id: file:///home/lennart/svn/public/gst-pulse/trunk@38 bb39ca4e-bce3-0310-b5d4-eea78a553289
-rw-r--r--src/plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin.c b/src/plugin.c
index a2ade0d..980bab4 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -31,10 +31,10 @@ GST_DEBUG_CATEGORY(polyp_debug);
static gboolean plugin_init(GstPlugin* plugin) {
- if (!gst_element_register(plugin, "polypsink", GST_RANK_NONE, GST_TYPE_POLYPSINK))
+ if (!gst_element_register(plugin, "polypsink", GST_RANK_SECONDARY-1, GST_TYPE_POLYPSINK))
return FALSE;
- if (!gst_element_register(plugin, "polypsrc", GST_RANK_NONE, GST_TYPE_POLYPSRC))
+ if (!gst_element_register(plugin, "polypsrc", GST_RANK_SECONDARY-1, GST_TYPE_POLYPSRC))
return FALSE;
if (!gst_element_register(plugin, "polypmixer", GST_RANK_NONE, GST_TYPE_POLYPMIXER))