diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-07 10:03:24 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-07 10:03:24 +0100 |
commit | 410681f8b5ab54dd2b422919fb0c48dbfc73efa8 (patch) | |
tree | 0a38ee0ac28c6bba3919c4aef56944a44c59253c /gst/mxf/mxfmetadata.c | |
parent | 6e392318c01394667578a09ba894184d356d9960 (diff) | |
download | gstreamer-plugins-bad-410681f8b5ab54dd2b422919fb0c48dbfc73efa8.tar.gz |
mxfdemux: Don't include multiple descriptors in the track's descriptors
Diffstat (limited to 'gst/mxf/mxfmetadata.c')
-rw-r--r-- | gst/mxf/mxfmetadata.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/mxf/mxfmetadata.c b/gst/mxf/mxfmetadata.c index 525912bea..07affd499 100644 --- a/gst/mxf/mxfmetadata.c +++ b/gst/mxf/mxfmetadata.c @@ -1278,7 +1278,8 @@ mxf_metadata_source_package_resolve (MXFMetadataBase * m, GHashTable * metadata) for (j = 0; j < self->n_descriptors; j++) { MXFMetadataFileDescriptor *d; - if (!MXF_IS_METADATA_FILE_DESCRIPTOR (self->descriptors[j])) + if (!MXF_IS_METADATA_FILE_DESCRIPTOR (self->descriptors[j]) || + MXF_IS_METADATA_MULTIPLE_DESCRIPTOR (self->descriptors[j])) continue; d = MXF_METADATA_FILE_DESCRIPTOR (self->descriptors[j]); @@ -1295,7 +1296,8 @@ mxf_metadata_source_package_resolve (MXFMetadataBase * m, GHashTable * metadata) for (j = 0; j < self->n_descriptors; j++) { MXFMetadataFileDescriptor *d; - if (!MXF_IS_METADATA_FILE_DESCRIPTOR (self->descriptors[j])) + if (!MXF_IS_METADATA_FILE_DESCRIPTOR (self->descriptors[j]) || + MXF_IS_METADATA_MULTIPLE_DESCRIPTOR (self->descriptors[j])) continue; d = MXF_METADATA_FILE_DESCRIPTOR (self->descriptors[j]); |