law: Raise rank of encoders to PRIMARY

This commit is contained in:
Edward Hervey 2009-11-18 17:54:02 +01:00
parent efc611e420
commit a5dd867d6f
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ static gboolean
plugin_init (GstPlugin * plugin)
{
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_RANK_PRIMARY, GST_TYPE_ALAW_DEC))
return FALSE;

View file

@ -60,7 +60,7 @@ static gboolean
plugin_init (GstPlugin * plugin)
{
if (!gst_element_register (plugin, "mulawenc",
GST_RANK_NONE, GST_TYPE_MULAWENC) ||
GST_RANK_PRIMARY, GST_TYPE_MULAWENC) ||
!gst_element_register (plugin, "mulawdec",
GST_RANK_PRIMARY, GST_TYPE_MULAWDEC))
return FALSE;