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. --- ext/gsm/gstgsm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/gsm') diff --git a/ext/gsm/gstgsm.c b/ext/gsm/gstgsm.c index 619b82ac..32225ff7 100644 --- a/ext/gsm/gstgsm.c +++ b/ext/gsm/gstgsm.c @@ -83,6 +83,7 @@ plugin_init (GModule *module, GstPlugin *plugin) dec = gst_element_factory_new("gsmdec",GST_TYPE_GSMDEC, &gst_gsmdec_details); g_return_val_if_fail(dec != NULL, FALSE); + gst_element_factory_set_rank (dec, GST_ELEMENT_RANK_PRIMARY); /* register sink pads */ gsmdec_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK, -- cgit v1.2.1