summaryrefslogtreecommitdiffstats
path: root/gst/law/alaw.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/law/alaw.c')
-rw-r--r--gst/law/alaw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/law/alaw.c b/gst/law/alaw.c
index d168b077..f340d137 100644
--- a/gst/law/alaw.c
+++ b/gst/law/alaw.c
@@ -66,6 +66,7 @@ plugin_init (GModule *module, GstPlugin *plugin)
alawdec_factory = gst_element_factory_new("alawdec",GST_TYPE_ALAWDEC,
&alawdec_details);
g_return_val_if_fail(alawdec_factory != NULL, FALSE);
+ gst_element_factory_set_rank (alawdec_factory, GST_ELEMENT_RANK_PRIMARY);
alaw_caps = alaw_factory ();
linear_caps = linear_factory ();