Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 49ba5f074748e43875482ec5182b32901017b9b9
      
https://github.com/WebKit/WebKit/commit/49ba5f074748e43875482ec5182b32901017b9b9
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2023-11-14 (Tue, 14 Nov 2023)

  Changed paths:
    M LayoutTests/platform/mac/TestExpectations
    M Source/WebCore/platform/graphics/SourceBufferPrivate.cpp
    M Source/WebCore/platform/graphics/SourceBufferPrivate.h
    M 
Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm

  Log Message:
  -----------
  [MSE] SourceBufferPrivate::didUpdateFormatDescriptionForTrackId can run out 
of order.
https://bugs.webkit.org/show_bug.cgi?id=264799
rdar://118380017

Reviewed by Youenn Fablet.

Ensure the track format description is processed after the init segment by 
queuing an operation
instead of running the callback immediately.

Covered by existing tests (which were disabled)

* LayoutTests/platform/mac/TestExpectations:
* Source/WebCore/platform/graphics/SourceBufferPrivate.cpp:
(WebCore::SourceBufferPrivate::didUpdateFormatDescriptionForTrackId):
(WebCore::SourceBufferPrivate::processPendingOperations):
* Source/WebCore/platform/graphics/SourceBufferPrivate.h:
* 
Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
(WebCore::SourceBufferPrivateAVFObjC::didUpdateFormatDescriptionForTrackId):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to