summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-11-18 17:54:02 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-11-18 17:54:35 +0100
commita5dd867d6fee3136c1ccd3de9e0ccb8a775f4248 (patch)
tree26f8d3aff1557f8a32a2e0f694a4d415e9003189
parentefc611e42021de4ddfb603288b8eb3e8a3d5e66b (diff)
law: Raise rank of encoders to PRIMARY
-rw-r--r--gst/law/alaw.c2
-rw-r--r--gst/law/mulaw.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/law/alaw.c b/gst/law/alaw.c
index 95ae992dc..04429353f 100644
--- a/gst/law/alaw.c
+++ b/gst/law/alaw.c
@@ -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;
diff --git a/gst/law/mulaw.c b/gst/law/mulaw.c
index 27a76db81..e8d9e72de 100644
--- a/gst/law/mulaw.c
+++ b/gst/law/mulaw.c
@@ -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;