mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
Set the rank so it can be autoplugged
Original commit message from CVS: Set the rank so it can be autoplugged
This commit is contained in:
parent
98ae5cb270
commit
dbe9f84ef5
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue