mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +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 ())
|
if (!gst_lame_get_default_settings ())
|
||||||
return FALSE;
|
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 FALSE;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
|
@ -848,7 +848,7 @@ gst_lamemp3enc_register (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
GST_DEBUG_CATEGORY_INIT (debug, "lamemp3enc", 0, "lame mp3 encoder");
|
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))
|
GST_TYPE_LAMEMP3ENC))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
|
|
@ -1039,7 +1039,7 @@ plugin_init (GstPlugin * plugin)
|
||||||
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||||
#endif /* ENABLE_NLS */
|
#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))
|
GST_TYPE_TWO_LAME))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue