opus: Rank rtp pay/depay

This way they can be auto-plugged.
This commit is contained in:
Olivier Crête 2012-03-27 15:13:24 -04:00
parent f291f87bb1
commit 3963204e34

View file

@ -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;