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:
Wim Taymans 2002-11-02 13:37:37 +00:00
parent 75037ef05a
commit 722a09ea7b

View file

@ -585,7 +585,7 @@ plugin_init (GModule *module, GstPlugin *plugin)
factory = gst_element_factory_new ("mplex",GST_TYPE_MPLEX,
&gst_mplex_details);
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 (audio_sink_factory));