patterns/mp4: Added stbl box (#185)

This commit is contained in:
klirktag
2023-10-29 19:54:23 +01:00
committed by GitHub
parent 27e55d2e6d
commit 7e6a5d3bfa

View File

@@ -165,7 +165,6 @@ struct SubMediaInformationBox {
("hdlr"): HandlerBox box [[inline]];
("dinf"): DataInformationBox box [[inline]];
(_): UnknownBox box [[inline]];
// TODO: Add stbl
}
} [[name(std::format("MediaInformationBox({})", box.type))]];
@@ -173,6 +172,10 @@ struct MediaInformationBox : BaseBox {
SubMediaInformationBox box[while($ < endOffset)] [[inline]];
};
struct SampleBoxTable : FullBox {
SubMediaInformationBox box[while($ < endOffset)] [[inline]];
};
struct MediaHeaderBox : FullBox {
if (this.version == 1) {
u64 creation_time;
@@ -196,6 +199,7 @@ struct SubMediaBox {
("mdhd"): MediaHeaderBox box [[inline]];
("hdlr"): HandlerBox box [[inline]];
("minf"): MediaInformationBox box [[inline]];
("sbtl"): SampleBoxTable box [[inline]];
(_): UnknownBox box [[inline]];
}
} [[name(std::format("MediaBox({})", box.type))]];