From b34b0129dabcb875c0f20a57da80764bc233d6c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Tue, 27 Mar 2012 15:13:24 -0400 Subject: [PATCH] opus: Rank rtp pay/depay This way they can be auto-plugged. --- ext/opus/gstopus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/opus/gstopus.c b/ext/opus/gstopus.c index 8db6e19..aea0110 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; -- 2.7.4