public static PiffMediaInformation CreateAudio(PiffAudioManifest audio, Guid keyId) { return(new PiffMediaInformation(new PiffSoundMediaHeader(), null, PiffSampleTable.CreateAudio(audio, keyId))); }
public static PiffMediaInformation CreateVideo(PiffVideoManifest video, Guid keyId) { return(new PiffMediaInformation(null, new PiffVideoMediaHeader(), PiffSampleTable.CreateVideo(video, keyId))); }
private PiffMediaInformation(PiffSoundMediaHeader sound, PiffVideoMediaHeader video, PiffSampleTable index) { SoundHeader = sound; VideoHeader = video; Index = index; }