summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ext/divx/gstdivxdec.c2
-rw-r--r--ext/xvid/gstxviddec.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/ext/divx/gstdivxdec.c b/ext/divx/gstdivxdec.c
index 3ef2e771..7f715546 100644
--- a/ext/divx/gstdivxdec.c
+++ b/ext/divx/gstdivxdec.c
@@ -433,6 +433,8 @@ plugin_init (GModule *module,
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));
+ gst_element_factory_set_rank(factory, GST_ELEMENT_RANK_PRIMARY);
+
return TRUE;
}
diff --git a/ext/xvid/gstxviddec.c b/ext/xvid/gstxviddec.c
index acb424fe..34f373d7 100644
--- a/ext/xvid/gstxviddec.c
+++ b/ext/xvid/gstxviddec.c
@@ -362,5 +362,7 @@ gst_xviddec_plugin_init (GModule *module,
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));
+ gst_element_factory_set_rank(factory, GST_ELEMENT_RANK_PRIMARY);
+
return TRUE;
}