Commit 619f1fdc authored by Steve Baker's avatar Steve Baker

add ranks only for plugins who participate in autoplugging. If you have a...

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.
parent eadc5593
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment