mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
mxfdemux: Don't include multiple descriptors in the track's descriptors
This commit is contained in:
parent
6e392318c0
commit
410681f8b5
1 changed files with 4 additions and 2 deletions
|
@ -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]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue