Add ranks to mp3 encoders

This commit is contained in:
Christian Schaller 2009-05-07 17:59:52 +01:00
parent efaf0a5199
commit 19096a66c4
2 changed files with 2 additions and 2 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;