summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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))