1
1
mirror of https://github.com/wader/fq.git synced 2024-11-23 00:57:15 +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...)
case "avc1":
d.FieldDecodeRange(name, firstBit, nBits, mpegAVCAUFormat, opts...)
case "hev1":
case "hev1", "hvc1":
d.FieldDecodeRange(name, firstBit, nBits, mpegHEVCSampleFormat, opts...)
case "av01":
d.FieldDecodeRange(name, firstBit, nBits, av1FrameFormat, opts...)