summaryrefslogtreecommitdiffstats
path: root/ext/metadata/gstmetadata.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/metadata/gstmetadata.c')
-rw-r--r--ext/metadata/gstmetadata.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/ext/metadata/gstmetadata.c b/ext/metadata/gstmetadata.c
index 263c8b37..858f33db 100644
--- a/ext/metadata/gstmetadata.c
+++ b/ext/metadata/gstmetadata.c
@@ -45,14 +45,22 @@
#include "config.h"
#endif
-#include "gstmetadataparse.h"
-/* #include "gstmetadatamux.h" ...soon.. */
+#include <gst/gst.h>
+
+extern gboolean gst_metadata_parse_plugin_init (GstPlugin * plugin);
+extern gboolean gst_metadata_mux_plugin_init (GstPlugin * plugin);
static gboolean
plugin_init (GstPlugin * plugin)
{
- return gst_metadata_parse_plugin_init (plugin);
+ gboolean ret = TRUE;
+
+ ret = gst_metadata_parse_plugin_init (plugin);
+
+ ret = ret && gst_metadata_mux_plugin_init (plugin);
+
+ return ret;
}