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.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/metadata/gstmetadata.c b/ext/metadata/gstmetadata.c
index 858f33db..4b150a26 100644
--- a/ext/metadata/gstmetadata.c
+++ b/ext/metadata/gstmetadata.c
@@ -47,15 +47,30 @@
#include <gst/gst.h>
+#include "metadatatags.h"
+
extern gboolean gst_metadata_parse_plugin_init (GstPlugin * plugin);
extern gboolean gst_metadata_mux_plugin_init (GstPlugin * plugin);
+GST_DEBUG_CATEGORY_EXTERN (gst_metadata_exif_debug);
+GST_DEBUG_CATEGORY_EXTERN (gst_metadata_iptc_debug);
+GST_DEBUG_CATEGORY_EXTERN (gst_metadata_xmp_debug);
+
static gboolean
plugin_init (GstPlugin * plugin)
{
gboolean ret = TRUE;
+ GST_DEBUG_CATEGORY_INIT (gst_metadata_exif_debug, "metadata_exif",
+ 0, "Metadata exif");
+ GST_DEBUG_CATEGORY_INIT (gst_metadata_iptc_debug, "metadata_iptc",
+ 0, "Metadata iptc");
+ GST_DEBUG_CATEGORY_INIT (gst_metadata_xmp_debug, "metadata_xmp", 0,
+ "Metadata xmp");
+
+ metadata_tags_register ();
+
ret = gst_metadata_parse_plugin_init (plugin);
ret = ret && gst_metadata_mux_plugin_init (plugin);