diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-21 17:38:49 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-21 17:38:49 +0100 |
commit | acc6a316ce333eb3b28975e5fcfe678a704dc1f4 (patch) | |
tree | 8c7c7f30b9003198008b8b2cd3a9b9611881f28f /gst/mxf/mxf.c | |
parent | a9461b981836138b091ac3402ea69e2e65ca78de (diff) | |
download | gst-plugins-bad-acc6a316ce333eb3b28975e5fcfe678a704dc1f4.tar.gz gst-plugins-bad-acc6a316ce333eb3b28975e5fcfe678a704dc1f4.tar.bz2 gst-plugins-bad-acc6a316ce333eb3b28975e5fcfe678a704dc1f4.zip |
mxfdemux: Post structural metadata tree as tag on the bus
This will later be used to keep the structural metadata when
remuxing an MXF file and can also be used in Pitivi for example
to know the file structure and to select what should be used
and played.
Diffstat (limited to 'gst/mxf/mxf.c')
-rw-r--r-- | gst/mxf/mxf.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/mxf/mxf.c b/gst/mxf/mxf.c index 58fa0302..ec477721 100644 --- a/gst/mxf/mxf.c +++ b/gst/mxf/mxf.c @@ -22,6 +22,7 @@ #include <gst/gst.h> +#include "mxfquark.h" #include "mxfdemux.h" #include "mxfaes-bwf.h" #include "mxfmpeg.h" @@ -41,12 +42,19 @@ mxf_init (void) { gst_tag_register (GST_TAG_MXF_UMID, GST_TAG_FLAG_META, G_TYPE_STRING, "UMID", "Unique Material Identifier", NULL); + gst_tag_register (GST_TAG_MXF_STRUCTURE, GST_TAG_FLAG_META, + GST_TYPE_STRUCTURE, "Structure", "Structural metadata of " + "the MXF file", NULL); + gst_tag_register (GST_TAG_MXF_DESCRIPTIVE_METADATA_FRAMEWORK, + GST_TAG_FLAG_META, GST_TYPE_STRUCTURE, "DM Framework", + "Descriptive metadata framework", NULL); } static gboolean plugin_init (GstPlugin * plugin) { mxf_init (); + mxf_quark_initialize (); mxf_metadata_init_types (); mxf_aes_bwf_init (); mxf_mpeg_init (); |