[webkit-changes] [WebKit/WebKit] a31774: Ensure RemoteImageDecoderAVFProxy messages are not...
Sihui
noreply at github.com
Fri Dec 20 19:53:38 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a317744f5e1459934067237e26c59dea9c0e531b
https://github.com/WebKit/WebKit/commit/a317744f5e1459934067237e26c59dea9c0e531b
Author: Sihui Liu <sihui_liu at apple.com>
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
More information about the webkit-changes
mailing list