summaryrefslogtreecommitdiffstats
path: root/gst/mxf
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-02-07 10:03:24 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-02-07 10:03:24 +0100
commit410681f8b5ab54dd2b422919fb0c48dbfc73efa8 (patch)
tree0a38ee0ac28c6bba3919c4aef56944a44c59253c /gst/mxf
parent6e392318c01394667578a09ba894184d356d9960 (diff)
downloadgst-plugins-bad-410681f8b5ab54dd2b422919fb0c48dbfc73efa8.tar.gz
gst-plugins-bad-410681f8b5ab54dd2b422919fb0c48dbfc73efa8.tar.bz2
gst-plugins-bad-410681f8b5ab54dd2b422919fb0c48dbfc73efa8.zip
mxfdemux: Don't include multiple descriptors in the track's descriptors
Diffstat (limited to 'gst/mxf')
-rw-r--r--gst/mxf/mxfmetadata.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/mxf/mxfmetadata.c b/gst/mxf/mxfmetadata.c
index 525912be..07affd49 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]);