Skip to content

Commit 713aaa4

Browse files
committed
Update code docs
1 parent 6c50444 commit 713aaa4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docs/source_utils_deviceCapabilities.bs.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,10 @@
349349
' Video codecs
350350
videoCodecList = "h264"
351351

352-
if di.CanDecodeVideo({ Codec: "hevc", Container: container }).Result
353-
videoCodecList = "hevc,h265," + videoCodecList
352+
if container = "mp4"
353+
if di.CanDecodeVideo({ Codec: "hevc", Container: container }).Result
354+
videoCodecList = "hevc,h265," + videoCodecList
355+
end if
354356
end if
355357

356358
if di.CanDecodeVideo({ Codec: "mpeg4 avc", Container: container }).Result

0 commit comments

Comments
 (0)