Bug 225254

Summary: [Cocoa] Calling into -[AVPlayerItem currentTime] is very expensive
Product: WebKit Reporter: Jer Noble <jer.noble>
Component: New BugsAssignee: Jer Noble <jer.noble>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, ews-watchlist, glenn, jean-yves.avenard, peng.liu6, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=225371
https://bugs.webkit.org/show_bug.cgi?id=227136
Bug Depends on:    
Bug Blocks: 225262    
Attachments:
Description Flags
Patch
eric.carlson: review+, ews-feeder: commit-queue-
Patch for landing none

Jer Noble
Reported 2021-04-30 15:22:04 PDT
[Cocoa] Calling into -[AVPlayerItem currentTime] is very expensive
Attachments
Patch (7.14 KB, patch)
2021-04-30 15:27 PDT, Jer Noble
eric.carlson: review+
ews-feeder: commit-queue-
Patch for landing (7.09 KB, patch)
2021-04-30 17:06 PDT, Jer Noble
no flags
Jer Noble
Comment 1 2021-04-30 15:27:18 PDT
Radar WebKit Bug Importer
Comment 2 2021-04-30 15:28:08 PDT
Eric Carlson
Comment 3 2021-04-30 15:36:55 PDT
Comment on attachment 427458 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427458&action=review > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:1109 > + auto currentTimeInterval = CMTimeMake(1, 10); Do we need this local variable?
Jer Noble
Comment 4 2021-04-30 17:06:32 PDT
Created attachment 427470 [details] Patch for landing
EWS
Comment 5 2021-04-30 19:11:59 PDT
Committed r276870 (237216@main): <https://commits.webkit.org/237216@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 427470 [details].
Note You need to log in before you can comment on or make changes to this bug.