summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflac.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/flac/gstflac.c')
-rw-r--r--ext/flac/gstflac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/flac/gstflac.c b/ext/flac/gstflac.c
index 3ab527b2..c7bd3814 100644
--- a/ext/flac/gstflac.c
+++ b/ext/flac/gstflac.c
@@ -112,6 +112,7 @@ plugin_init (GModule *module, GstPlugin *plugin)
dec = gst_element_factory_new("flacdec",GST_TYPE_FLACDEC,
&flacdec_details);
g_return_val_if_fail(dec != NULL, FALSE);
+ gst_element_factory_set_rank (dec, GST_ELEMENT_RANK_PRIMARY);
/* register sink pads */
dec_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK,