From 619f1fdc4394cb1bccfe1c00cfdbc9c3cd68934a Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Fri, 31 May 2002 08:24:29 +0000 Subject: [PATCH] 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. --- ext/vorbis/vorbis.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/vorbis/vorbis.c b/ext/vorbis/vorbis.c index 3783eeb4b2..b231a2112a 100644 --- a/ext/vorbis/vorbis.c +++ b/ext/vorbis/vorbis.c @@ -128,6 +128,7 @@ plugin_init (GModule *module, GstPlugin *plugin) dec = gst_element_factory_new("vorbisdec",GST_TYPE_VORBISDEC, &vorbisdec_details); g_return_val_if_fail(dec != NULL, FALSE); + gst_element_factory_set_rank (dec, GST_ELEMENT_RANK_PRIMARY); /* register sink pads */ dec_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK,