mxfdemux: Don't include multiple descriptors in the track's descriptors

This commit is contained in:
Sebastian Dröge 2009-02-07 10:03:24 +01:00
parent 6e392318c0
commit 410681f8b5

View file

@ -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]);