Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a317744f5e1459934067237e26c59dea9c0e531b
      
https://github.com/WebKit/WebKit/commit/a317744f5e1459934067237e26c59dea9c0e531b
  Author: Sihui Liu <[email protected]>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M Source/WebKit/WebProcess/GPU/media/RemoteImageDecoderAVFManager.cpp

  Log Message:
  -----------
  Ensure RemoteImageDecoderAVFProxy messages are not sent when 
MediaPlaybackEnabled is false
https://bugs.webkit.org/show_bug.cgi?id=284935
rdar://141731913

Reviewed by Youenn Fablet.

When MediaPlaybackEnabled flag is false, it means media playback 
functionalities should be disabled, and web process is
not expected to send related messages to UI process or GPU process (they will 
treat related message as invalid message).
To ensure web process does not send RemoteImageDecoderAVFProxy messages, this 
patch makes RemoteImageDecoderAVFManager
does not create RemoteImageDecoderAVF when MediaPlaybackEnabled is false.

* Source/WebKit/WebProcess/GPU/media/RemoteImageDecoderAVFManager.cpp:
(WebKit::RemoteImageDecoderAVFManager::createImageDecoder):

Canonical link: https://commits.webkit.org/288207@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