Example #1
0
 public override void Write(BoxWriter writer)
 {
     using (new SizeCalculator(this, writer))
     {
         base.Write(writer);
         TrackHeaderBox.Write(writer);
         if (EdtsBox != null)
         {
             EdtsBox.Write(writer);
             //this.Size -= EdtsBox.Size;
         }
         MediaBox.Write(writer);
         if (TrackReferenceBox != null)
         {
             TrackReferenceBox.Write(writer);
         }
     }
 }