mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 06:58:49 +00:00
law: Raise rank of encoders to PRIMARY
This commit is contained in:
parent
efc611e420
commit
a5dd867d6f
2 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ static gboolean
|
||||||
plugin_init (GstPlugin * plugin)
|
plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
if (!gst_element_register (plugin, "alawenc",
|
if (!gst_element_register (plugin, "alawenc",
|
||||||
GST_RANK_NONE, GST_TYPE_ALAW_ENC) ||
|
GST_RANK_PRIMARY, GST_TYPE_ALAW_ENC) ||
|
||||||
!gst_element_register (plugin, "alawdec",
|
!gst_element_register (plugin, "alawdec",
|
||||||
GST_RANK_PRIMARY, GST_TYPE_ALAW_DEC))
|
GST_RANK_PRIMARY, GST_TYPE_ALAW_DEC))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
@ -60,7 +60,7 @@ static gboolean
|
||||||
plugin_init (GstPlugin * plugin)
|
plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
if (!gst_element_register (plugin, "mulawenc",
|
if (!gst_element_register (plugin, "mulawenc",
|
||||||
GST_RANK_NONE, GST_TYPE_MULAWENC) ||
|
GST_RANK_PRIMARY, GST_TYPE_MULAWENC) ||
|
||||||
!gst_element_register (plugin, "mulawdec",
|
!gst_element_register (plugin, "mulawdec",
|
||||||
GST_RANK_PRIMARY, GST_TYPE_MULAWDEC))
|
GST_RANK_PRIMARY, GST_TYPE_MULAWDEC))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue