diff options
author | Stéphane Cerveau <scerveau@collabora.com> | 2021-02-16 11:14:17 +0100 |
---|---|---|
committer | Stéphane Cerveau <scerveau@collabora.com> | 2021-03-29 12:45:22 +0200 |
commit | 859b608acf7811a3928ecd0d1d32134d5a538eca (patch) | |
tree | 2a588944afe5f24f14254e80ff55af36deec83a5 /gst/matroska/matroska-mux.c | |
parent | 1166a250fa3a86e3f5e35ea042545c6688e35d35 (diff) |
matroska: 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-good/-/merge_requests/876>
Diffstat (limited to 'gst/matroska/matroska-mux.c')
-rw-r--r-- | gst/matroska/matroska-mux.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c index 3cb9bae68..c18bd9af5 100644 --- a/gst/matroska/matroska-mux.c +++ b/gst/matroska/matroska-mux.c @@ -55,6 +55,7 @@ #include <gst/tag/tag.h> #include <gst/pbutils/codec-utils.h> +#include "gstmatroskaelements.h" #include "matroska-mux.h" #include "matroska-ids.h" @@ -299,6 +300,9 @@ gst_matroska_mux_get_type (void) return object_type; } +GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (matroskamux, "matroskamux", + GST_RANK_PRIMARY, GST_TYPE_MATROSKA_MUX, matroska_element_init (plugin)); + static void gst_matroska_mux_class_init (GstMatroskaMuxClass * klass) { |