rtp: Update codes based on 1.18.4
[platform/upstream/gst-plugins-good.git] / gst / rtp / gstrtp.c
index 186cf9c..b2a6706 100644 (file)
@@ -76,6 +76,8 @@
 #include "gstrtpjpegpay.h"
 #include "gstrtpklvdepay.h"
 #include "gstrtpklvpay.h"
+#include "gstrtpL8depay.h"
+#include "gstrtpL8pay.h"
 #include "gstrtpL16depay.h"
 #include "gstrtpL16pay.h"
 #include "gstrtpL24depay.h"
 #include "gstrtpvrawpay.h"
 #include "gstrtpstreampay.h"
 #include "gstrtpstreamdepay.h"
+#include "gstrtpredenc.h"
+#include "gstrtpreddec.h"
+#include "gstrtpulpfecdec.h"
+#include "gstrtpulpfecenc.h"
+#include "gstrtpstorage.h"
 
 static gboolean
 plugin_init (GstPlugin * plugin)
@@ -275,6 +282,12 @@ plugin_init (GstPlugin * plugin)
   if (!gst_rtp_klv_pay_plugin_init (plugin))
     return FALSE;
 
+  if (!gst_rtp_L8_pay_plugin_init (plugin))
+    return FALSE;
+
+  if (!gst_rtp_L8_depay_plugin_init (plugin))
+    return FALSE;
+
   if (!gst_rtp_L16_pay_plugin_init (plugin))
     return FALSE;
 
@@ -380,6 +393,26 @@ plugin_init (GstPlugin * plugin)
   if (!gst_rtp_stream_depay_plugin_init (plugin))
     return FALSE;
 
+  if (!gst_element_register (plugin, "rtpredenc", GST_RANK_NONE,
+          GST_TYPE_RTP_RED_ENC))
+    return FALSE;
+
+  if (!gst_element_register (plugin, "rtpreddec", GST_RANK_NONE,
+          GST_TYPE_RTP_RED_DEC))
+    return FALSE;
+
+  if (!gst_element_register (plugin, "rtpulpfecdec", GST_RANK_NONE,
+          GST_TYPE_RTP_ULPFEC_DEC))
+    return FALSE;
+
+  if (!gst_element_register (plugin, "rtpulpfecenc", GST_RANK_NONE,
+          GST_TYPE_RTP_ULPFEC_ENC))
+    return FALSE;
+
+  if (!gst_element_register (plugin, "rtpstorage", GST_RANK_NONE,
+          GST_TYPE_RTP_STORAGE))
+    return FALSE;
+
   return TRUE;
 }