Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1a1e6be08dd99345d9f57e16198282195a6527d5
      
https://github.com/WebKit/WebKit/commit/1a1e6be08dd99345d9f57e16198282195a6527d5
  Author: Youenn Fablet <[email protected]>
  Date:   2024-11-28 (Thu, 28 Nov 2024)

  Changed paths:
    M Source/WebCore/platform/mediastream/mac/MockRealtimeVideoSourceMac.h
    M Source/WebCore/platform/mediastream/mac/MockRealtimeVideoSourceMac.mm

  Log Message:
  -----------
  MockRealtimeVideoSourceMac should call captureFailed on main thread
rdar://140649652
https://bugs.webkit.org/show_bug.cgi?id=283788

Reviewed by Philippe Normand.

Hop to main thread before calling captureFailed.
We also remove MockRealtimeVideoSourceMac work queue since there is a run loop 
in MockRealtimeVideoSource that does the work of generating frames.
We do a small clean-up on MockRealtimeVideoSourceMac as well.

* Source/WebCore/platform/mediastream/mac/MockRealtimeVideoSourceMac.h:
* Source/WebCore/platform/mediastream/mac/MockRealtimeVideoSourceMac.mm:
(WebCore::MockRealtimeVideoSource::create):
(WebCore::MockRealtimeVideoSourceMac::MockRealtimeVideoSourceMac):
(WebCore::MockRealtimeVideoSourceMac::updateSampleBuffer):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to