Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d015de0a46553854edcb83b42a9e402c51570303
      
https://github.com/WebKit/WebKit/commit/d015de0a46553854edcb83b42a9e402c51570303
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2026-06-15 (Mon, 15 Jun 2026)

  Changed paths:
    M Source/WebCore/platform/cocoa/EffectiveRateChangedListener.mm
    M Source/WebCore/platform/graphics/avfoundation/AudioVideoRendererAVFObjC.mm

  Log Message:
  -----------
  Use CMTimebaseGetEffectiveRate in place of CMTimebaseGetRate in 
AudioVideoRendererAVFObjC
https://bugs.webkit.org/show_bug.cgi?id=317113
rdar://179682195

Reviewed by Youenn Fablet.

No change in observable behaviour, the effectiveRate isn't JS exported
but is used to estimate the time progression in the web content.
CMTimebaseGetEffectiveRate is the API to use to retrieve the timebase effective 
rate
CMTimebaseGetRate only returns the current rate we set.

* Source/WebCore/platform/cocoa/EffectiveRateChangedListener.mm:
(WebCore::EffectiveRateChangedListener::effectiveRateChanged):
* Source/WebCore/platform/graphics/avfoundation/AudioVideoRendererAVFObjC.mm:
(WebCore::AudioVideoRendererAVFObjC::effectiveRate const):
(WebCore::AudioVideoRendererAVFObjC::releaseStartupGateAndForwardRate):

Canonical link: https://commits.webkit.org/315210@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to