Changeset 264792 in webkit
- Timestamp:
- Jul 23, 2020, 2:57:10 PM (6 years ago)
- Location:
- branches/safari-610.1.23.1-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/cocoa/VP9UtilitiesCocoa.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-610.1.23.1-branch/Source/WebCore/ChangeLog
r264773 r264792 1 2020-07-23 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r264791. rdar://problem/66014800 4 5 [Cocoa] RELEASE_ASSERT when calling registerSupplementalVP9Decoder() when VideoToolbox.framework is not present 6 https://bugs.webkit.org/show_bug.cgi?id=214697 7 <rdar://problem/66010949> 8 9 Reviewed by Eric Carlson. 10 11 * platform/graphics/cocoa/VP9UtilitiesCocoa.mm: 12 (WebCore::registerSupplementalVP9Decoder): 13 (WebCore::isVP9DecoderAvailable): 14 15 16 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@264791 268f45cc-cd09-0410-ab3c-d52691b4dbfc 17 18 2020-07-23 Jer Noble <jer.noble@apple.com> 19 20 [Cocoa] RELEASE_ASSERT when calling registerSupplementalVP9Decoder() when VideoToolbox.framework is not present 21 https://bugs.webkit.org/show_bug.cgi?id=214697 22 <rdar://problem/66010949> 23 24 Reviewed by Eric Carlson. 25 26 * platform/graphics/cocoa/VP9UtilitiesCocoa.mm: 27 (WebCore::registerSupplementalVP9Decoder): 28 (WebCore::isVP9DecoderAvailable): 29 1 30 2020-07-23 Alan Coon <alancoon@apple.com> 2 31 -
branches/safari-610.1.23.1-branch/Source/WebCore/platform/graphics/cocoa/VP9UtilitiesCocoa.mm
r264708 r264792 99 99 void registerSupplementalVP9Decoder() 100 100 { 101 if (!VideoToolboxLibrary(true)) 102 return; 103 101 104 if (canLoad_VideoToolbox_VTRegisterSupplementalVideoDecoderIfAvailable()) 102 105 softLink_VideoToolbox_VTRegisterSupplementalVideoDecoderIfAvailable(kCMVideoCodecType_VP9); … … 105 108 bool isVP9DecoderAvailable() 106 109 { 110 if (!VideoToolboxLibrary(true)) 111 return false; 107 112 return noErr == VTSelectAndCreateVideoDecoderInstance(kCMVideoCodecType_VP9, kCFAllocatorDefault, nullptr, nullptr); 108 113 }
Note:
See TracChangeset
for help on using the changeset viewer.