You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using JT1078.FMp4.Interfaces;
- using JT1078.FMp4.MessagePack;
- using System;
- using System.Collections.Generic;
- using System.Text;
-
- namespace JT1078.FMp4
- {
- /// <summary>
- /// mvex
- /// </summary>
- public class MovieExtendsBox : Mp4Box, IFMp4MessagePackFormatter
- {
- /// <summary>
- /// mvex
- /// </summary>
- public MovieExtendsBox() : base("mvex")
- {
- }
- public MovieExtendsHeaderBox MovieExtendsHeaderBox { get; set; }
- public List<TrackExtendsBox> TrackExtendsBoxs { get; set; }
-
- public void ToBuffer(ref FMp4MessagePackWriter writer)
- {
- Start(ref writer);
- if (MovieExtendsHeaderBox != null)
- {
- MovieExtendsHeaderBox.ToBuffer(ref writer);
- }
- if (TrackExtendsBoxs != null)
- {
- foreach(var item in TrackExtendsBoxs)
- {
- item.ToBuffer(ref writer);
- }
- }
- End(ref writer);
- }
- }
- }
|