1
1
mirror of https://github.com/wader/fq.git synced 2024-11-27 14:14:58 +03:00
This commit is contained in:
Mattias Wadman 2023-11-14 17:53:53 +01:00
parent 3271d10f40
commit 8d2dc10f5e

View File

@ -513,6 +513,9 @@ func matroskaDecode(d *decode.D) any {
case "V_MS/VFW/FOURCC":
t.parentD.RangeFn(t.codecPrivatePos, t.codecPrivateTagSize, func(d *decode.D) {
d.FieldStruct("bitmap_info_header", func(d *decode.D) {
// TODO: share VfW (video for windows) struct with riff formats?
d.Endian = decode.LittleEndian
d.FieldU32("bi_size")
d.FieldU32("width")
d.FieldU32("height")
@ -530,6 +533,8 @@ func matroskaDecode(d *decode.D) any {
// TODO: hack? remove codecToFormat?
t.codec = "V_FFV1"
}
d.FieldFormat("ffv1_parameters", &ffv1FrameGroup, nil)
})
})