add h265/hevc to deviceCapabilities.tsVideoCodecs

fixes #513
This commit is contained in:
whiteowl3 2022-03-28 15:40:34 -04:00 committed by GitHub
parent 81661a5693
commit cdc7939a09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,9 +27,9 @@ function getDeviceProfile() as object
end if end if
if playMpeg2 and di.CanDecodeVideo({ Codec: "mpeg2" }).Result = true if playMpeg2 and di.CanDecodeVideo({ Codec: "mpeg2" }).Result = true
tsVideoCodecs = "h264,mpeg2video" tsVideoCodecs = "h264,h265,hevc,mpeg2video"
else else
tsVideoCodecs = "h264" tsVideoCodecs = "h264,h265,hevc"
end if end if
if di.CanDecodeAudio({ Codec: "ac3" }).result if di.CanDecodeAudio({ Codec: "ac3" }).result
@ -258,4 +258,4 @@ function GetDirectPlayProfiles() as object
} }
] ]
end function end function