Skip to content

Commit

Permalink
fix: 修复dvh1.05.07 hdr播放
Browse files Browse the repository at this point in the history
  • Loading branch information
yichengchen committed Feb 17, 2024
1 parent 50d459b commit c9c215f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class BilibiliVideoResourceLoaderDelegate: NSObject, AVAssetResourceLoaderDelega
supplementCodesc = codecs + "/db1p"
codecs = "hvc1.2.4.L150"
videoRange = "PQ"
} else if codecs == "dvh1.05.06" {
} else if codecs.hasPrefix("dvh1.05") {
videoRange = "PQ"
} else if isHDR {
Logger.warn("unknown hdr codecs: \(codecs)")
Expand Down

0 comments on commit c9c215f

Please sign in to comment.