mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-09 19:09:41 +00:00
Add ranks to mp3 encoders
This commit is contained in:
parent
f2b326d77b
commit
b8a116982b
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue