public static IEnumerable <MXFAES3PCMDescriptor> GetAudioEssenceDescriptorsInHeader(this MXFFile file)
 {
     return(file
            .GetHeader()
            .Children
            .OfType <MXFAES3PCMDescriptor>());
 }
 public static MXFCDCIPictureEssenceDescriptor GetPictureDescriptorInHeader(this MXFFile file)
 {
     return(file
            .GetHeader()
            .Children
            .OfType <MXFCDCIPictureEssenceDescriptor>()
            .SingleOrDefault());
 }
 public static bool AreEssencesInHeader(this MXFFile file)
 {
     return(!file.GetHeader().Children.OfType <MXFEssenceElement>().Any());
 }
 public static bool IsHeaderStatusClosedAndComplete(this MXFFile file)
 {
     return(!(file.GetHeader().IsPartitionClosedAndComplete()));
 }