Added mpeg4 to direct play profiles
This commit is contained in:
parent
19005b2e47
commit
024539cdb2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user