diff --git a/ext/opus/gstopus.c b/ext/opus/gstopus.c index 8db6e197f9..aea0110f44 100644 --- a/ext/opus/gstopus.c +++ b/ext/opus/gstopus.c @@ -46,11 +46,11 @@ plugin_init (GstPlugin * plugin) GST_TYPE_OPUS_PARSE)) return FALSE; - if (!gst_element_register (plugin, "rtpopusdepay", GST_RANK_NONE, + if (!gst_element_register (plugin, "rtpopusdepay", GST_RANK_SECONDARY, GST_TYPE_RTP_OPUS_DEPAY)) return FALSE; - if (!gst_element_register (plugin, "rtpopuspay", GST_RANK_NONE, + if (!gst_element_register (plugin, "rtpopuspay", GST_RANK_SECONDARY, GST_TYPE_RTP_OPUS_PAY)) return FALSE;