summaryrefslogtreecommitdiffstats
path: root/gst/mxf/mxf.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-02-04 11:09:26 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-02-04 11:12:14 +0100
commit3e2a880c6b9a23591501b9da594afa9284658bbd (patch)
treed232e0b31512eec5a9ebe1852c39db5b3401aae9 /gst/mxf/mxf.c
parentc0557df34d85b9886913ee470b8c97355ced074c (diff)
downloadgst-plugins-bad-3e2a880c6b9a23591501b9da594afa9284658bbd.tar.gz
gst-plugins-bad-3e2a880c6b9a23591501b9da594afa9284658bbd.tar.bz2
gst-plugins-bad-3e2a880c6b9a23591501b9da594afa9284658bbd.zip
Post an UMID tag with the current package's UMID
Diffstat (limited to 'gst/mxf/mxf.c')
-rw-r--r--gst/mxf/mxf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/mxf/mxf.c b/gst/mxf/mxf.c
index 236e8358..58fa0302 100644
--- a/gst/mxf/mxf.c
+++ b/gst/mxf/mxf.c
@@ -36,9 +36,17 @@
GST_DEBUG_CATEGORY (mxf_debug);
#define GST_CAT_DEFAULT mxf_debug
+static void
+mxf_init (void)
+{
+ gst_tag_register (GST_TAG_MXF_UMID, GST_TAG_FLAG_META,
+ G_TYPE_STRING, "UMID", "Unique Material Identifier", NULL);
+}
+
static gboolean
plugin_init (GstPlugin * plugin)
{
+ mxf_init ();
mxf_metadata_init_types ();
mxf_aes_bwf_init ();
mxf_mpeg_init ();