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.
This commit is contained in:
parent
eadc5593b3
commit
619f1fdc43
@ -128,6 +128,7 @@ plugin_init (GModule *module, GstPlugin *plugin)
|
|||||||
dec = gst_element_factory_new("vorbisdec",GST_TYPE_VORBISDEC,
|
dec = gst_element_factory_new("vorbisdec",GST_TYPE_VORBISDEC,
|
||||||
&vorbisdec_details);
|
&vorbisdec_details);
|
||||||
g_return_val_if_fail(dec != NULL, FALSE);
|
g_return_val_if_fail(dec != NULL, FALSE);
|
||||||
|
gst_element_factory_set_rank (dec, GST_ELEMENT_RANK_PRIMARY);
|
||||||
|
|
||||||
/* register sink pads */
|
/* register sink pads */
|
||||||
dec_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK,
|
dec_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user