DescriptionStop assuming anything about result of MFStartup()
MFStartup() usually returns S_OK. However, being a system library
function it doesn't have to, and we have no control over it. It can
return an error when something goes wrong within Media Foundation, or
simply on an "N" edition of Windows that doesn't even have Media
Foundation.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2735783002
Cr-Commit-Position: refs/heads/master@{#456026}
Committed: https://chromium.googlesource.com/chromium/src/+/6d55717cd047b3d79e3cc41ea1a4e7df50b8c171
Patch Set 1 #Patch Set 2 : Handle InitializeMediaFoundation() return value #
Total comments: 2
Patch Set 3 : Mention "N" edition #
Messages
Total messages: 22 (6 generated)
|