Commit f357e09a authored by Wim Taymans's avatar Wim Taymans
Browse files

rtp: fix rank of payloaders and depayloaders

Set the payloaders and depayloaders to a reasonable rank.
parent d5c8771b
......@@ -231,5 +231,5 @@ gboolean
gst_asteriskh263_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "asteriskh263",
GST_RANK_MARGINAL, GST_TYPE_ASTERISK_H263);
GST_RANK_SECONDARY, GST_TYPE_ASTERISK_H263);
}
......@@ -261,5 +261,5 @@ gboolean
gst_rtp_L16_depay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpL16depay",
GST_RANK_MARGINAL, GST_TYPE_RTP_L16_DEPAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_L16_DEPAY);
}
......@@ -234,5 +234,5 @@ gboolean
gst_rtp_L16_pay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpL16pay",
GST_RANK_NONE, GST_TYPE_RTP_L16_PAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_L16_PAY);
}
......@@ -214,5 +214,5 @@ gboolean
gst_rtp_ac3_depay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpac3depay",
GST_RANK_MARGINAL, GST_TYPE_RTP_AC3_DEPAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_AC3_DEPAY);
}
......@@ -455,5 +455,5 @@ gboolean
gst_rtp_amr_depay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpamrdepay",
GST_RANK_MARGINAL, GST_TYPE_RTP_AMR_DEPAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_AMR_DEPAY);
}
......@@ -435,5 +435,5 @@ gboolean
gst_rtp_amr_pay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpamrpay",
GST_RANK_NONE, GST_TYPE_RTP_AMR_PAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_AMR_PAY);
}
......@@ -179,5 +179,5 @@ gboolean
gst_rtp_bv_depay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpbvdepay",
GST_RANK_MARGINAL, GST_TYPE_RTP_BV_DEPAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_BV_DEPAY);
}
......@@ -219,5 +219,5 @@ gboolean
gst_rtp_bv_pay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpbvpay",
GST_RANK_NONE, GST_TYPE_RTP_BV_PAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_BV_PAY);
}
......@@ -271,5 +271,5 @@ gboolean
gst_rtp_celt_depay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpceltdepay",
GST_RANK_MARGINAL, GST_TYPE_RTP_CELT_DEPAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_CELT_DEPAY);
}
......@@ -473,5 +473,5 @@ gboolean
gst_rtp_celt_pay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpceltpay",
GST_RANK_NONE, GST_TYPE_RTP_CELT_PAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_CELT_PAY);
}
......@@ -158,5 +158,5 @@ gboolean
gst_rtp_depay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpdepay",
GST_RANK_NONE, GST_TYPE_RTP_DEPAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_DEPAY);
}
......@@ -411,5 +411,5 @@ gboolean
gst_rtp_dv_depay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpdvdepay",
GST_RANK_NONE, GST_TYPE_RTP_DV_DEPAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_DV_DEPAY);
}
......@@ -371,5 +371,5 @@ gboolean
gst_rtp_dv_pay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpdvpay",
GST_RANK_NONE, GST_TYPE_RTP_DV_PAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_DV_PAY);
}
......@@ -256,5 +256,5 @@ gboolean
gst_rtp_g722_depay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpg722depay",
GST_RANK_MARGINAL, GST_TYPE_RTP_G722_DEPAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_G722_DEPAY);
}
......@@ -206,5 +206,5 @@ gboolean
gst_rtp_g722_pay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpg722pay",
GST_RANK_NONE, GST_TYPE_RTP_G722_PAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_G722_PAY);
}
......@@ -224,5 +224,5 @@ gboolean
gst_rtp_g723_depay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpg723depay",
GST_RANK_MARGINAL, GST_TYPE_RTP_G723_DEPAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_G723_DEPAY);
}
......@@ -311,6 +311,6 @@ gst_rtp_g723_pay_change_state (GstElement * element, GstStateChange transition)
gboolean
gst_rtp_g723_pay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpg723pay", GST_RANK_NONE,
return gst_element_register (plugin, "rtpg723pay", GST_RANK_SECONDARY,
gst_rtp_g723_pay_get_type ());
}
......@@ -377,5 +377,5 @@ gboolean
gst_rtp_g726_depay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpg726depay",
GST_RANK_MARGINAL, GST_TYPE_RTP_G726_DEPAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_G726_DEPAY);
}
......@@ -415,5 +415,5 @@ gboolean
gst_rtp_g726_pay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpg726pay",
GST_RANK_NONE, GST_TYPE_RTP_G726_PAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_G726_PAY);
}
......@@ -223,5 +223,5 @@ gboolean
gst_rtp_g729_depay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpg729depay",
GST_RANK_MARGINAL, GST_TYPE_RTP_G729_DEPAY);
GST_RANK_SECONDARY, GST_TYPE_RTP_G729_DEPAY);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment