summaryrefslogtreecommitdiffstats
path: root/ext/gsm
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gsm')
-rw-r--r--ext/gsm/gstgsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gsm/gstgsm.c b/ext/gsm/gstgsm.c
index 619b82ac..32225ff7 100644
--- a/ext/gsm/gstgsm.c
+++ b/ext/gsm/gstgsm.c
@@ -83,6 +83,7 @@ plugin_init (GModule *module, GstPlugin *plugin)
dec = gst_element_factory_new("gsmdec",GST_TYPE_GSMDEC,
&gst_gsmdec_details);
g_return_val_if_fail(dec != NULL, FALSE);
+ gst_element_factory_set_rank (dec, GST_ELEMENT_RANK_PRIMARY);
/* register sink pads */
gsmdec_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK,