Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8c08dc3db7ea13c4d461ad6158b4bed06299aaea
      
https://github.com/WebKit/WebKit/commit/8c08dc3db7ea13c4d461ad6158b4bed06299aaea
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2025-11-13 (Thu, 13 Nov 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/MediaSourcePrivate.cpp
    M Source/WebCore/platform/graphics/MediaSourcePrivate.h
    M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h
    M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm

  Log Message:
  -----------
  [MSE] Buffered range calculation should be performed by the 
MediaSourcePrivate base class
https://bugs.webkit.org/show_bug.cgi?id=302393
rdar://164551661

Reviewed by Youenn Fablet.

We move the calculation of the buffered range found in MediaSourcePrivateAVFObjC
to the base class MediaSourcePrivate.
It allows to guarantee future thread-safety of the MediaSourcePrivate and
will allow to remove duplicated code.

No change in observable behaviour.

* Source/WebCore/platform/graphics/MediaSourcePrivate.cpp:
(WebCore::MediaSourcePrivate::removeSourceBuffer):
(WebCore::MediaSourcePrivate::trackBufferedChanged):
(WebCore::MediaSourcePrivate::updateBufferedRanges):

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



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

Reply via email to