Skip to content

Commit

Permalink
Decode hvc1 as hevc samplesa also
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed Sep 12, 2021
1 parent d1be167 commit 6a1fa04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion format/mp4/mp4.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
Expand Down

0 comments on commit 6a1fa04

Please sign in to comment.