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