summaryrefslogtreecommitdiff
path: root/ext/dtls/gstdtlssrtpenc.c
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@collabora.com>2021-02-17 12:22:07 +0100
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-03-23 14:19:16 +0000
commita216a1f2cf84b66601524be347ac4b45a995b044 (patch)
tree7e8bfffbffb6e1cdcdfd61a82a262dc67b2b6c25 /ext/dtls/gstdtlssrtpenc.c
parent8e1d1325fb4648065d915863f43ee21dc65c40fe (diff)
downloadgstreamer-plugins-bad-a216a1f2cf84b66601524be347ac4b45a995b044.tar.gz
dtls: 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/dtls/gstdtlssrtpenc.c')
-rw-r--r--ext/dtls/gstdtlssrtpenc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/dtls/gstdtlssrtpenc.c b/ext/dtls/gstdtlssrtpenc.c
index 11f5198cb..603d37454 100644
--- a/ext/dtls/gstdtlssrtpenc.c
+++ b/ext/dtls/gstdtlssrtpenc.c
@@ -27,6 +27,7 @@
#include "config.h"
#endif
+#include "gstdtlselements.h"
#include "gstdtlssrtpenc.h"
#include "gstdtlsconnection.h"
@@ -64,6 +65,8 @@ GST_DEBUG_CATEGORY_STATIC (gst_dtls_srtp_enc_debug);
G_DEFINE_TYPE_WITH_CODE (GstDtlsSrtpEnc, gst_dtls_srtp_enc,
GST_TYPE_DTLS_SRTP_BIN, GST_DEBUG_CATEGORY_INIT (gst_dtls_srtp_enc_debug,
"dtlssrtpenc", 0, "DTLS Decoder"));
+GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (dtlssrtpenc, "dtlssrtpenc",
+ GST_RANK_NONE, GST_TYPE_DTLS_SRTP_ENC, dtls_element_init (plugin));
enum
{