opus: Rank rtp pay/depay
authorOlivier Crête <olivier.crete@collabora.com>
Tue, 27 Mar 2012 19:13:24 +0000 (15:13 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 27 Mar 2012 19:14:01 +0000 (15:14 -0400)
This way they can be auto-plugged.

ext/opus/gstopus.c

index 8db6e19..aea0110 100644 (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;