From 6a1fa045e7a9b42735d87f05d936e4b13d2b634c Mon Sep 17 00:00:00 2001 From: Mattias Wadman Date: Wed, 11 Aug 2021 12:58:10 +0200 Subject: [PATCH] Decode hvc1 as hevc samplesa also --- format/mp4/mp4.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format/mp4/mp4.go b/format/mp4/mp4.go index 7985c440..673cd8e9 100644 --- a/format/mp4/mp4.go +++ b/format/mp4/mp4.go @@ -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...)