Lower the rank, this element should not be selected in the player
Original commit message from CVS: Lower the rank, this element should not be selected in the player
This commit is contained in:
parent
75037ef05a
commit
722a09ea7b
@ -585,7 +585,7 @@ plugin_init (GModule *module, GstPlugin *plugin)
|
|||||||
factory = gst_element_factory_new ("mplex",GST_TYPE_MPLEX,
|
factory = gst_element_factory_new ("mplex",GST_TYPE_MPLEX,
|
||||||
&gst_mplex_details);
|
&gst_mplex_details);
|
||||||
g_return_val_if_fail (factory != NULL, FALSE);
|
g_return_val_if_fail (factory != NULL, FALSE);
|
||||||
gst_element_factory_set_rank (factory, GST_ELEMENT_RANK_MARGINAL);
|
gst_element_factory_set_rank (factory, GST_ELEMENT_RANK_NONE);
|
||||||
|
|
||||||
gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (src_factory));
|
gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (src_factory));
|
||||||
gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (audio_sink_factory));
|
gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (audio_sink_factory));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user