summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-06-01 17:01:15 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-06-01 17:01:15 +0000
commit704d768f32c9d0dbede9a232b645cfb676b2ff3d (patch)
tree78a0d2e38ca31757103c480ce7c939fe0a2bb946
parentaac0adf3930cbc0a44d69ce2f32550d14d2b69bb (diff)
downloadgst-plugins-bad-704d768f32c9d0dbede9a232b645cfb676b2ff3d.tar.gz
gst-plugins-bad-704d768f32c9d0dbede9a232b645cfb676b2ff3d.tar.bz2
gst-plugins-bad-704d768f32c9d0dbede9a232b645cfb676b2ff3d.zip
Add ranking to divx/xvid plugins
Original commit message from CVS: Add ranking to divx/xvid plugins
-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;
}