[webkit-changes] [WebKit/WebKit] 65d8c4: [MSE] add track id test for MSE

Jean-Yves Avenard noreply at github.com
Wed Dec 6 19:20:30 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 65d8c44cce8612965ea93adb40dc64bf1c965cf4
      https://github.com/WebKit/WebKit/commit/65d8c44cce8612965ea93adb40dc64bf1c965cf4
  Author: Jean-Yves Avenard <jya at apple.com>
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
    R LayoutTests/media/media-audio-track-expected.txt
    R LayoutTests/media/media-audio-track.html
    R LayoutTests/media/media-video-audio-track-expected.txt
    R LayoutTests/media/media-video-audio-track.html
    A LayoutTests/media/track/media-audio-track-expected.txt
    A LayoutTests/media/track/media-audio-track.html
    A LayoutTests/media/track/media-source-audio-track-expected.txt
    A LayoutTests/media/track/media-source-audio-track.html
    A LayoutTests/media/track/media-video-audio-track-expected.txt
    A LayoutTests/media/track/media-video-audio-track.html
    M LayoutTests/platform/glib/TestExpectations
    M LayoutTests/platform/mac-wk1/TestExpectations
    M Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h
    M Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm

  Log Message:
  -----------
  [MSE] add track id test for MSE
https://bugs.webkit.org/show_bug.cgi?id=265935
rdar://119244009

Reviewed by Youenn Fablet.

Test exposed bug missed by bug 265718, where HashMap<uint64_t> where left in the code,
which caused an assertion due to the use of forbidden value. Replace them with StdUnorderedMap.

Fly-by: move track tests from media to media/track

* LayoutTests/media/track/media-audio-track-expected.txt: Copied from LayoutTests/media/media-audio-track-expected.txt.
* LayoutTests/media/track/media-audio-track.html: Renamed from LayoutTests/media/media-audio-track.html.
* LayoutTests/media/track/media-source-audio-track-expected.txt: Renamed from LayoutTests/media/media-audio-track-expected.txt.
* LayoutTests/media/track/media-source-audio-track.html: Added.
* LayoutTests/media/track/media-video-audio-track-expected.txt: Renamed from LayoutTests/media/media-video-audio-track-expected.txt.
* LayoutTests/media/track/media-video-audio-track.html: Renamed from LayoutTests/media/media-video-audio-track.html.
* LayoutTests/platform/glib/TestExpectations:
* LayoutTests/platform/mac-wk1/TestExpectations:
* Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
* Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
(WebCore::SourceBufferPrivateAVFObjC::precheckInitialisationSegment):
(WebCore::SourceBufferPrivateAVFObjC::didProvideMediaDataForTrackId):
(WebCore::SourceBufferPrivateAVFObjC::processFormatDescriptionForTrackId):
(WebCore::SourceBufferPrivateAVFObjC::didProvideContentKeyRequestInitializationDataForTrackID):
(WebCore::SourceBufferPrivateAVFObjC::appendInternal):
(WebCore::SourceBufferPrivateAVFObjC::destroyRenderers):
(WebCore::SourceBufferPrivateAVFObjC::clearTracks):
(WebCore::SourceBufferPrivateAVFObjC::trackDidChangeEnabled):
(WebCore::SourceBufferPrivateAVFObjC::setCDMInstance):
(WebCore::SourceBufferPrivateAVFObjC::flush):
(WebCore::SourceBufferPrivateAVFObjC::rendererWasAutomaticallyFlushed):
(WebCore::SourceBufferPrivateAVFObjC::trackIsBlocked const):
(WebCore::SourceBufferPrivateAVFObjC::canEnqueueSample):
(WebCore::SourceBufferPrivateAVFObjC::enqueueSample):
(WebCore::SourceBufferPrivateAVFObjC::isReadyForMoreSamples):
(WebCore::SourceBufferPrivateAVFObjC::didBecomeReadyForMoreSamples):
(WebCore::SourceBufferPrivateAVFObjC::notifyClientWhenReadyForMoreSamples):

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




More information about the webkit-changes mailing list