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/mxfmetadata.h | |
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/mxfmetadata.h')
-rw-r--r-- | gst/mxf/mxfmetadata.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gst/mxf/mxfmetadata.h b/gst/mxf/mxfmetadata.h index 1917f7af..72e4e9e5 100644 --- a/gst/mxf/mxfmetadata.h +++ b/gst/mxf/mxfmetadata.h @@ -385,6 +385,9 @@ struct _MXFMetadataBaseClass { gboolean (*handle_tag) (MXFMetadataBase *self, MXFPrimerPack *primer, guint16 tag, const guint8 *tag_data, guint tag_size); gboolean (*resolve) (MXFMetadataBase *self, GHashTable *metadata); + GstStructure * (*to_structure) (MXFMetadataBase *self); + + GQuark name_quark; }; struct _MXFMetadata { @@ -699,7 +702,7 @@ struct _MXFMetadataGenericSoundEssenceDescriptor { struct _MXFMetadataGenericDataEssenceDescriptor { MXFMetadataFileDescriptor parent; - MXFUL data_essence_compression; + MXFUL data_essence_coding; }; struct _MXFMetadataMultipleDescriptor { @@ -747,6 +750,7 @@ struct _MXFDescriptiveMetadataFrameworkInterface { gboolean mxf_metadata_base_parse (MXFMetadataBase *self, MXFPrimerPack *primer, const guint8 *data, guint size); gboolean mxf_metadata_base_resolve (MXFMetadataBase *self, GHashTable *metadata); +GstStructure * mxf_metadata_base_to_structure (MXFMetadataBase *self); MXFMetadata *mxf_metadata_new (guint16 type, MXFPrimerPack *primer, guint64 offset, const guint8 *data, guint size); void mxf_metadata_register (guint16 type_id, GType type); |