diff options
author | Stéphane Cerveau <scerveau@collabora.com> | 2021-02-17 11:55:14 +0100 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-03-23 14:19:16 +0000 |
commit | 7c1fc06919836537cfaddf5a3cd9ad183090f5be (patch) | |
tree | f13b191b656be21ec11ae52c7ee080d77c4f51e7 /ext/curl/gstcurlsftpsink.c | |
parent | 279502cd8e6f8acff43f0e428d269ec14d650496 (diff) | |
download | gstreamer-plugins-bad-7c1fc06919836537cfaddf5a3cd9ad183090f5be.tar.gz |
curl: allow per feature registration
Split plugin into features including
dynamic types which can be indiviually
registered during a static build.
More details here:
https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2038>
Diffstat (limited to 'ext/curl/gstcurlsftpsink.c')
-rw-r--r-- | ext/curl/gstcurlsftpsink.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/curl/gstcurlsftpsink.c b/ext/curl/gstcurlsftpsink.c index 983aa5fc3..701603d9d 100644 --- a/ext/curl/gstcurlsftpsink.c +++ b/ext/curl/gstcurlsftpsink.c @@ -44,6 +44,7 @@ #include "config.h" #endif +#include "gstcurlelements.h" #include "gstcurlsshsink.h" #include "gstcurlsftpsink.h" @@ -92,6 +93,8 @@ static gboolean set_sftp_dynamic_options_unlocked (GstCurlBaseSink * #define gst_curl_sftp_sink_parent_class parent_class G_DEFINE_TYPE (GstCurlSftpSink, gst_curl_sftp_sink, GST_TYPE_CURL_SSH_SINK); +GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (curlsftpsink, "curlsftpsink", + GST_RANK_NONE, GST_TYPE_CURL_SFTP_SINK, curl_element_init (plugin)); static void gst_curl_sftp_sink_class_init (GstCurlSftpSinkClass * klass) |