[webkit-changes] [WebKit/WebKit] b63b94: [Cocoa] startTime of dynamically added EXT-X-DATER...

Eric Carlson noreply at github.com
Mon Feb 6 16:42:51 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b63b9425c88b7c4bc0af59caf9b3241d002842a9
      https://github.com/WebKit/WebKit/commit/b63b9425c88b7c4bc0af59caf9b3241d002842a9
  Author: Eric Carlson <eric.carlson at apple.com>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

  Changed paths:
    A LayoutTests/http/tests/media/hls/track-in-band-ext-x-date-range-start-time-expected.txt
    A LayoutTests/http/tests/media/hls/track-in-band-ext-x-date-range-start-time.html
    A LayoutTests/http/tests/media/resources/hls/dynamic-ext-date-range.py
    M Source/WebCore/html/HTMLMediaElement.cpp
    M Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm

  Log Message:
  -----------
  [Cocoa] startTime of dynamically added EXT-X-DATERANGE metadata cues is always 0
https://bugs.webkit.org/show_bug.cgi?id=251541
rdar://104142471

Reviewed by Jer Noble.

The start time of a metadata group was calculated incorrectly.

* LayoutTests/http/tests/media/hls/track-in-band-ext-x-date-range-start-time-expected.txt: Added.
* LayoutTests/http/tests/media/hls/track-in-band-ext-x-date-range-start-time.html: Added.
* LayoutTests/http/tests/media/resources/hls/dynamic-ext-date-range.py: Added.

* Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::metadataGroupDidArrive): Correct `startTime`
calculation.

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




More information about the webkit-changes mailing list