mxf: Don't even try to serialize DM frameworks as it will cause an assertion until this is finished

This commit is contained in:
Sebastian Dröge 2009-03-06 17:24:03 +01:00
parent bdc9c5618a
commit 424bb07965

View File

@ -2919,17 +2919,17 @@ mxf_metadata_dm_segment_to_structure (MXFMetadataBase * m)
if (self->event_comment) if (self->event_comment)
gst_structure_id_set (ret, MXF_QUARK (EVENT_COMMENT), G_TYPE_STRING, gst_structure_id_set (ret, MXF_QUARK (EVENT_COMMENT), G_TYPE_STRING,
self->event_comment, NULL); self->event_comment, NULL);
/* FIXME: DMS1 doesn't support serializing to a structure yet */
#if 0
if (self->dm_framework) { if (self->dm_framework) {
GstStructure *s = GstStructure *s =
mxf_metadata_base_to_structure (MXF_METADATA_BASE (self->dm_framework)); mxf_metadata_base_to_structure (MXF_METADATA_BASE (self->dm_framework));
if (s) { gst_structure_id_set (ret, MXF_QUARK (DM_FRAMEWORK), GST_TYPE_STRUCTURE,
gst_structure_id_set (ret, MXF_QUARK (DM_FRAMEWORK), GST_TYPE_STRUCTURE, s, NULL);
s, NULL); gst_structure_free (s);
gst_structure_free (s);
}
} }
#endif
if (self->n_track_ids > 0) { if (self->n_track_ids > 0) {
GValue arr = { 0, } GValue arr = { 0, }