Changeset 264188 in webkit
- Timestamp:
- Jul 9, 2020 12:49:58 PM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r264177 r264188 1 2020-07-09 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [WinCairo][MediaFoundation] Use /DELAYLOAD for mf.dll 4 https://bugs.webkit.org/show_bug.cgi?id=213330 5 6 Reviewed by Per Arne Vollan. 7 8 WinCairo failed to start up due to a missing dependency on some 9 versions of Windows in which Media Foundation is not available 10 such like Windows 10 N. Use delay load for Media Foundation. And, 11 check the availability. 12 13 * PlatformWinCairo.cmake: Link with delayimp.lib. Added /DELAYLOAD linker options. 14 * platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp: 15 (WebCore::MediaPlayerPrivateMediaFoundation::isAvailable): Check mf.dll is available. 16 1 17 2020-07-09 Eric Carlson <eric.carlson@apple.com> 2 18 -
trunk/Source/WebCore/PlatformWinCairo.cmake
r255670 r264188 44 44 comctl32 45 45 crypt32 46 delayimp 46 47 dxva2 47 48 evr … … 55 56 ) 56 57 58 target_link_options(WebCore PUBLIC /DELAYLOAD:mf.dll /DELAYLOAD:mfplat.dll) 59 57 60 list(APPEND WebCoreTestSupport_LIBRARIES 58 61 Cairo::Cairo -
trunk/Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp
r253482 r264188 108 108 bool MediaPlayerPrivateMediaFoundation::isAvailable() 109 109 { 110 notImplemented();111 return true;110 static bool isMediaFoundationAvailable = LoadLibrary(L"mf.dll"); 111 return isMediaFoundationAvailable; 112 112 } 113 113
Note: See TracChangeset
for help on using the changeset viewer.