public static List<ErrorLogger.ErrorObject> isVirtualTrackInCPLConformed(PayloadRecord cplPayloadRecord,VirtualTrack virtualTrack,List<PayloadRecord> essencesHeaderPartitionPayloads) throws IOException {
  List<VirtualTrack> virtualTracks=new ArrayList<>();
  IMFErrorLogger imfErrorLogger=new IMFErrorLoggerImpl();
  virtualTracks.add(virtualTrack);
  imfErrorLogger.addAllErrors(checkVirtualTrackAndEssencesHeaderPartitionPayloadRecords(virtualTracks,essencesHeaderPartitionPayloads));
  if (imfErrorLogger.hasFatalErrors()) {
    return imfErrorLogger.getErrors();
  }
  imfErrorLogger.addAllErrors(conformVirtualTracksInCPL(cplPayloadRecord,essencesHeaderPartitionPayloads,false));
  return imfErrorLogger.getErrors();
}

public static List < ErrorLogger . ErrorObject > isVirtualTrackInCPLConformed ( PayloadRecord cplPayloadRecord , VirtualTrack virtualTrack , List < PayloadRecord > essencesHeaderPartitionPayloads ) throws IOException { List < VirtualTrack > virtualTracks = new ArrayList < > ( ) ; IMFErrorLogger imfErrorLogger = new IMFErrorLoggerImpl ( ) ; virtualTracks . add ( virtualTrack ) ; imfErrorLogger . addAllErrors ( checkVirtualTrackAndEssencesHeaderPartitionPayloadRecords ( virtualTracks , essencesHeaderPartitionPayloads ) ) ; if ( imfErrorLogger . hasFatalErrors ( ) ) { return imfErrorLogger . getErrors ( ) ; } imfErrorLogger . addAllErrors ( conformVirtualTracksInCPL ( cplPayloadRecord , essencesHeaderPartitionPayloads , false ) ) ; return imfErrorLogger . getErrors ( ) ; }
a stateless method that can be used to determine if a virtual track in a composition is conformant . conformance checks perform deeper inspection of the composition and the essencedescriptors corresponding to the virtual track
