curl: new curlftpsink element
[platform/upstream/gstreamer.git] / ext / curl / gstcurl.c
index 4bc96e9..5cf278c 100644 (file)
@@ -24,6 +24,7 @@
 #include "gstcurltlssink.h"
 #include "gstcurlhttpsink.h"
 #include "gstcurlfilesink.h"
+#include "gstcurlftpsink.h"
 
 static gboolean
 plugin_init (GstPlugin * plugin)
@@ -37,6 +38,10 @@ plugin_init (GstPlugin * plugin)
           GST_TYPE_CURL_FILE_SINK))
     return FALSE;
 
+  if (!gst_element_register (plugin, "curlftpsink", GST_RANK_NONE,
+          GST_TYPE_CURL_FTP_SINK))
+    return FALSE;
+
   return TRUE;
 }