Merge pull request #476 from neilsb/hvec-transcoding

This commit is contained in:
Anthony Lavado 2021-08-08 17:00:32 -04:00 committed by GitHub
commit 62bc63e164
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,8 +146,8 @@ function GetDirectPlayProfiles() as object
'Check for Supported Video Codecs
if di.CanDecodeVideo({ Codec: "hevc" }).Result = true
mp4Video = mp4Video + ",h265"
mkvVideo = mkvVideo + ",h265"
mp4Video = mp4Video + ",h265,hevc"
mkvVideo = mkvVideo + ",h265,hevc"
end if
if di.CanDecodeVideo({ Codec: "vp9" }).Result = true
@ -201,6 +201,8 @@ function GetDirectPlayProfiles() as object
if di.CanDecodeAudio({ Codec: "eac3" }).result
mkvAudio = mkvAudio + ",eac3"
mp4Audio = mp4Audio + ",eac3"
audio = audio + ",eac3"
end if
return [