Commit dbe9f84e authored by Wim Taymans's avatar Wim Taymans

Set the rank so it can be autoplugged

Original commit message from CVS:
Set the rank so it can be autoplugged
parent 98ae5cb2
......@@ -468,6 +468,7 @@ plugin_init (GModule *module, GstPlugin *plugin)
factory = gst_element_factory_new("dvdec", GST_TYPE_DVDEC, &dvdec_details);
g_return_val_if_fail(factory != NULL, FALSE);
gst_element_factory_set_rank (factory, GST_ELEMENT_RANK_PRIMARY);
/* The pad templates can be easily generated from the factories above,
* and then added to the list of padtemplates for the elementfactory.
* Note that the generated padtemplates are stored in static global
......
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