Changeset 210328 in webkit
- Timestamp:
- Jan 5, 2017 7:51:39 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r210327 r210328 1 2017-01-05 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Disable smooth playhead animation for main content media in the Touch Bar 4 https://bugs.webkit.org/show_bug.cgi?id=166715 5 <rdar://problem/29870673> 6 7 Reviewed by Eric Carlson. 8 9 Passing in a non-zero playback rate to WebPlaybackControlsManager's timing property causes unintended effects 10 further down the stack. Please see the Radar for more details. 11 12 * platform/mac/WebPlaybackSessionInterfaceMac.mm: 13 (WebCore::WebPlaybackSessionInterfaceMac::updatePlaybackControlsManagerTiming): 14 1 15 2017-01-05 Andreas Kling <akling@apple.com> 2 16 -
trunk/Source/WebCore/platform/mac/WebPlaybackSessionInterfaceMac.mm
r210105 r210328 221 221 effectivePlaybackRate = 0; 222 222 223 manager.timing = [getAVValueTimingClass() valueTimingWithAnchorValue:currentTime anchorTimeStamp:effectiveAnchorTime rate:effectivePlaybackRate]; 223 // FIXME: The timing value should ideally use the effective playback rate, but this causes AVKit to indefinitely fire a repeating timer. 224 // More investigation will be required before we re-enable smooth playhead animation -- for now, we should just pretend that the playback 225 // rate is always 0. 226 manager.timing = [getAVValueTimingClass() valueTimingWithAnchorValue:currentTime anchorTimeStamp:effectiveAnchorTime rate:0]; 224 227 } 225 228
Note: See TracChangeset
for help on using the changeset viewer.