Added mpeg4 to direct play profiles

This commit is contained in:
Nick Wallace 2022-07-26 14:43:55 -05:00
parent 19005b2e47
commit 024539cdb2

View File

@ -177,7 +177,7 @@ end function
function GetDirectPlayProfiles() as object
mp4Video = "h264"
mp4Video = "h264,mpeg4"
mp4Audio = "mp3,pcm,lpcm,wav"
mkvVideo = "h264,vp8"
mkvAudio = "mp3,pcm,lpcm,wav"
@ -193,6 +193,10 @@ function GetDirectPlayProfiles() as object
mkvVideo = mkvVideo + ",h265,hevc"
end if
if di.CanDecodeVideo({ Codec: "mpeg4" }).Result = true
mp4Video = mp4Video + ",mpeg4"
end if
if di.CanDecodeVideo({ Codec: "vp9" }).Result = true
mkvVideo = mkvVideo + ",vp9"
end if