default:
ret =
MXF_METADATA_BASE_CLASS
- (mxf_metadata_wave_audio_essence_descriptor_parent_class)->
- handle_tag (metadata, primer, tag, tag_data, tag_size);
+ (mxf_metadata_wave_audio_essence_descriptor_parent_class)->handle_tag
+ (metadata, primer, tag, tag_data, tag_size);
break;
}
("Invalid wave audio essence descriptor local tag 0x%04x of size %u", tag,
tag_size);
- return TRUE;
+ return FALSE;
}
static void
self->fixed_user_data = NULL;
GST_MINI_OBJECT_CLASS
- (mxf_metadata_aes3_audio_essence_descriptor_parent_class)->
- finalize (object);
+ (mxf_metadata_aes3_audio_essence_descriptor_parent_class)->finalize
+ (object);
}
static gboolean
goto error;
self->emphasis = GST_READ_UINT8 (tag_data);
GST_DEBUG (" emphasis = %u", self->emphasis);
- ret = TRUE;
break;
case 0x3d0f:
if (tag_size != 2)
goto error;
self->block_start_offset = GST_READ_UINT16_BE (tag_data);
GST_DEBUG (" block start offset = %u", self->block_start_offset);
- ret = TRUE;
break;
case 0x3d08:
if (tag_size != 1)
goto error;
self->auxiliary_bits_mode = GST_READ_UINT8 (tag_data);
GST_DEBUG (" auxiliary bits mode = %u", self->auxiliary_bits_mode);
- ret = TRUE;
break;
case 0x3d10:{
guint32 len;
tag_size--;
}
- ret = TRUE;
break;
}
case 0x3d11:{
tag_size -= 24;
}
- ret = TRUE;
break;
}
case 0x3d12:{
tag_size--;
}
- ret = TRUE;
break;
}
case 0x3d13:{
tag_size -= 24;
}
- ret = TRUE;
break;
}
/* TODO: linked timecode track / data_stream_number parsing, see
default:
ret =
MXF_METADATA_BASE_CLASS
- (mxf_metadata_aes3_audio_essence_descriptor_parent_class)->
- handle_tag (metadata, primer, tag, tag_data, tag_size);
+ (mxf_metadata_aes3_audio_essence_descriptor_parent_class)->handle_tag
+ (metadata, primer, tag, tag_data, tag_size);
break;
}
("Invalid AES3 audio essence descriptor local tag 0x%04x of size %u", tag,
tag_size);
- return TRUE;
+ return FALSE;
}
static void
s = (MXFMetadataGenericSoundEssenceDescriptor *) track->descriptor[i];
bwf = TRUE;
break;
- } else if (MXF_IS_METADATA_GENERIC_SOUND_ESSENCE_DESCRIPTOR (track->
- descriptor[i])
+ } else
+ if (MXF_IS_METADATA_GENERIC_SOUND_ESSENCE_DESCRIPTOR (track->descriptor
+ [i])
&& (track->descriptor[i]->essence_container.u[14] == 0x03
|| track->descriptor[i]->essence_container.u[14] == 0x04
|| track->descriptor[i]->essence_container.u[14] == 0x09)) {
break;
default:
ret =
- MXF_METADATA_BASE_CLASS (mxf_metadata_parent_class)->
- handle_tag (metadata, primer, tag, tag_data, tag_size);
+ MXF_METADATA_BASE_CLASS (mxf_metadata_parent_class)->handle_tag
+ (metadata, primer, tag, tag_data, tag_size);
break;
}
}
default:
ret =
- MXF_METADATA_BASE_CLASS (mxf_metadata_preface_parent_class)->
- handle_tag (metadata, primer, tag, tag_data, tag_size);
+ MXF_METADATA_BASE_CLASS
+ (mxf_metadata_preface_parent_class)->handle_tag (metadata, primer,
+ tag, tag_data, tag_size);
break;
}
return FALSE;
}
- return MXF_METADATA_BASE_CLASS (mxf_metadata_preface_parent_class)->
- resolve (m, metadata);
+ return
+ MXF_METADATA_BASE_CLASS (mxf_metadata_preface_parent_class)->resolve (m,
+ metadata);
}
static void
return FALSE;
}
- return MXF_METADATA_BASE_CLASS (mxf_metadata_content_storage_parent_class)->
- resolve (m, metadata);
+ return
+ MXF_METADATA_BASE_CLASS
+ (mxf_metadata_content_storage_parent_class)->resolve (m, metadata);
}
static void
return FALSE;
}
- return MXF_METADATA_BASE_CLASS (mxf_metadata_generic_package_parent_class)->
- resolve (m, metadata);
+ return
+ MXF_METADATA_BASE_CLASS
+ (mxf_metadata_generic_package_parent_class)->resolve (m, metadata);
}
static void
MXFMetadataBase ** metadata)
{
gboolean ret =
- MXF_METADATA_BASE_CLASS (mxf_metadata_material_package_parent_class)->
- resolve (m, metadata);
+ MXF_METADATA_BASE_CLASS
+ (mxf_metadata_material_package_parent_class)->resolve (m, metadata);
MXFMetadataGenericPackage *self = MXF_METADATA_GENERIC_PACKAGE (m);
guint i;
MXFMetadataGenericDescriptor *d = NULL;
if (mxf_ul_is_zero (&self->descriptors_uid))
- return MXF_METADATA_BASE_CLASS (mxf_metadata_source_package_parent_class)->
- resolve (m, metadata);
+ return
+ MXF_METADATA_BASE_CLASS
+ (mxf_metadata_source_package_parent_class)->resolve (m, metadata);
while (*p) {
current = *p;
}
ret =
- MXF_METADATA_BASE_CLASS (mxf_metadata_source_package_parent_class)->
- resolve (m, metadata);
+ MXF_METADATA_BASE_CLASS
+ (mxf_metadata_source_package_parent_class)->resolve (m, metadata);
for (i = 0; i < package->n_tracks; i++) {
guint n_descriptor = 0, k = 0;
return FALSE;
}
- return MXF_METADATA_BASE_CLASS (mxf_metadata_sequence_parent_class)->
- resolve (m, metadata);
+ return
+ MXF_METADATA_BASE_CLASS (mxf_metadata_sequence_parent_class)->resolve (m,
+ metadata);
}
p++;
}
- return MXF_METADATA_BASE_CLASS (mxf_metadata_source_clip_parent_class)->
- resolve (m, metadata);
+ return
+ MXF_METADATA_BASE_CLASS (mxf_metadata_source_clip_parent_class)->resolve
+ (m, metadata);
}
static void
return FALSE;
}
- return MXF_METADATA_BASE_CLASS (mxf_metadata_dm_segment_parent_class)->
- resolve (m, metadata);
+ return
+ MXF_METADATA_BASE_CLASS (mxf_metadata_dm_segment_parent_class)->resolve
+ (m, metadata);
}
static void
}
return
- MXF_METADATA_BASE_CLASS (mxf_metadata_generic_descriptor_parent_class)->
- resolve (m, metadata);
+ MXF_METADATA_BASE_CLASS
+ (mxf_metadata_generic_descriptor_parent_class)->resolve (m, metadata);
}
static void
g_free (self->sub_descriptors);
self->sub_descriptors = NULL;
- GST_MINI_OBJECT_CLASS (mxf_metadata_multiple_descriptor_parent_class)->
- finalize (object);
+ GST_MINI_OBJECT_CLASS
+ (mxf_metadata_multiple_descriptor_parent_class)->finalize (object);
}
static gboolean
GST_ERROR ("Invalid multiple descriptor local tag 0x%04x of size %u", tag,
tag_size);
- return TRUE;
+ return FALSE;
}
static gboolean
}
return
- MXF_METADATA_BASE_CLASS (mxf_metadata_multiple_descriptor_parent_class)->
- resolve (m, metadata);
+ MXF_METADATA_BASE_CLASS
+ (mxf_metadata_multiple_descriptor_parent_class)->resolve (m, metadata);
}
static void