summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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]);