diff --git a/ext/vorbis/vorbis.c b/ext/vorbis/vorbis.c index 3783eeb4b2..b231a2112a 100644 --- a/ext/vorbis/vorbis.c +++ b/ext/vorbis/vorbis.c @@ -128,6 +128,7 @@ plugin_init (GModule *module, GstPlugin *plugin) dec = gst_element_factory_new("vorbisdec",GST_TYPE_VORBISDEC, &vorbisdec_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,