mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue