From 704d768f32c9d0dbede9a232b645cfb676b2ff3d Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 1 Jun 2003 17:01:15 +0000 Subject: Add ranking to divx/xvid plugins Original commit message from CVS: Add ranking to divx/xvid plugins --- ext/divx/gstdivxdec.c | 2 ++ ext/xvid/gstxviddec.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'ext') 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; } -- cgit v1.2.1