rtp: Update codes based on 1.18.4
[platform/upstream/gst-plugins-good.git] / gst / rtp / gstrtp.c
index 8b0ef58..b2a6706 100644 (file)
 #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)
@@ -388,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;
 }