Add ranks to mp3 encoders

This commit is contained in:
Christian Schaller 2009-05-07 17:59:52 +01:00
parent f2b326d77b
commit b8a116982b
3 changed files with 3 additions and 3 deletions

View file

@ -1372,7 +1372,7 @@ gst_lame_register (GstPlugin * plugin)
if (!gst_lame_get_default_settings ())
return FALSE;
if (!gst_element_register (plugin, "lame", GST_RANK_NONE, GST_TYPE_LAME))
if (!gst_element_register (plugin, "lame", GST_RANK_MARGINAL, GST_TYPE_LAME))
return FALSE;
return TRUE;

View file

@ -848,7 +848,7 @@ gst_lamemp3enc_register (GstPlugin * plugin)
{
GST_DEBUG_CATEGORY_INIT (debug, "lamemp3enc", 0, "lame mp3 encoder");
if (!gst_element_register (plugin, "lamemp3enc", GST_RANK_NONE,
if (!gst_element_register (plugin, "lamemp3enc", GST_RANK_PRIMARY,
GST_TYPE_LAMEMP3ENC))
return FALSE;

View file

@ -1039,7 +1039,7 @@ plugin_init (GstPlugin * plugin)
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#endif /* ENABLE_NLS */
if (!gst_element_register (plugin, "twolame", GST_RANK_NONE,
if (!gst_element_register (plugin, "twolame", GST_RANK_SECONDARY,
GST_TYPE_TWO_LAME))
return FALSE;