1
1
mirror of https://github.com/wader/fq.git synced 2024-11-23 09:56:07 +03:00

Decode hvc1 as hevc samplesa also

This commit is contained in:
Mattias Wadman 2021-08-11 12:58:10 +02:00
parent d1be16784b
commit 6a1fa045e7

View File

@ -162,7 +162,7 @@ func mp4Decode(d *decode.D, in interface{}) interface{} {
d.FieldDecodeRange(name, firstBit, nBits, vp9FrameFormat, opts...) d.FieldDecodeRange(name, firstBit, nBits, vp9FrameFormat, opts...)
case "avc1": case "avc1":
d.FieldDecodeRange(name, firstBit, nBits, mpegAVCAUFormat, opts...) d.FieldDecodeRange(name, firstBit, nBits, mpegAVCAUFormat, opts...)
case "hev1": case "hev1", "hvc1":
d.FieldDecodeRange(name, firstBit, nBits, mpegHEVCSampleFormat, opts...) d.FieldDecodeRange(name, firstBit, nBits, mpegHEVCSampleFormat, opts...)
case "av01": case "av01":
d.FieldDecodeRange(name, firstBit, nBits, av1FrameFormat, opts...) d.FieldDecodeRange(name, firstBit, nBits, av1FrameFormat, opts...)