From 2e1042ebe84ca020d1baba789a68e688207fc0ba Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Fri, 31 May 2002 08:24:31 +0000 Subject: add ranks only for plugins who participate in autoplugging. If you have a file that used to autoplug but doesn't any... Original commit message from CVS: add ranks only for plugins who participate in autoplugging. If you have a file that used to autoplug but doesn't anymore, then let me know or add a rank to the missing element. --- gst/flx/gstflxdec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/flx/gstflxdec.c') diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c index 1354139d..1bb56035 100644 --- a/gst/flx/gstflxdec.c +++ b/gst/flx/gstflxdec.c @@ -685,6 +685,7 @@ plugin_init (GModule *module, GstPlugin *plugin) factory = gst_element_factory_new("flxdec", GST_TYPE_FLXDEC, &flxdec_details); g_return_val_if_fail(factory != NULL, FALSE); + gst_element_factory_set_rank (factory, GST_ELEMENT_RANK_PRIMARY); gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (sink_factory)); gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (src_video_factory)); -- cgit v1.2.1