(key->u[14] == 0x01 ||
key->u[14] == 0x02 ||
key->u[14] == 0x03 ||
- key->u[14] == 0x04 || key->u[14] == 0x08 || key->u[14] == 0x09))
+ key->u[14] == 0x04 || key->u[14] == 0x08 || key->u[14] == 0x09 ||
+ key->u[14] == 0x0a || key->u[14] == 0x0b))
return TRUE;
}
break;
case 0x08:
case 0x09:
- default:
+ case 0x0a:
+ case 0x0b:
return MXF_ESSENCE_WRAPPING_CUSTOM_WRAPPING;
+ default:
+ GST_WARNING ("Unknown frame wrapping");
+ return MXF_ESSENCE_WRAPPING_UNKNOWN_WRAPPING;
break;
}
}
descriptor[i])
&& (track->parent.descriptor[i]->essence_container.u[14] == 0x01
|| track->parent.descriptor[i]->essence_container.u[14] == 0x02
- || track->parent.descriptor[i]->essence_container.u[14] == 0x08)) {
+ || track->parent.descriptor[i]->essence_container.u[14] == 0x08
+ || track->parent.descriptor[i]->essence_container.u[14] == 0x0a)) {
s = (MXFMetadataGenericSoundEssenceDescriptor *) track->parent.
descriptor[i];
bwf = TRUE;
descriptor[i])
&& (track->parent.descriptor[i]->essence_container.u[14] == 0x03
|| track->parent.descriptor[i]->essence_container.u[14] == 0x04
- || track->parent.descriptor[i]->essence_container.u[14] == 0x09)) {
+ || track->parent.descriptor[i]->essence_container.u[14] == 0x09
+ || track->parent.descriptor[i]->essence_container.u[14] == 0x0b)) {
s = (MXFMetadataGenericSoundEssenceDescriptor *) track->parent.
descriptor[i];
typedef enum {
MXF_ESSENCE_WRAPPING_FRAME_WRAPPING,
MXF_ESSENCE_WRAPPING_CLIP_WRAPPING,
- MXF_ESSENCE_WRAPPING_CUSTOM_WRAPPING
+ MXF_ESSENCE_WRAPPING_CUSTOM_WRAPPING,
+ MXF_ESSENCE_WRAPPING_UNKNOWN_WRAPPING
} MXFEssenceWrapping;
typedef GstFlowReturn (*MXFEssenceElementHandleFunc) (const MXFUL *key, GstBuffer *buffer, GstCaps *caps, MXFMetadataTimelineTrack *track, gpointer mapping_data, GstBuffer **outbuf);