[webkit-changes] [WebKit/WebKit] 734a5a: [GStreamer] Avoid using decoding limits for all co...
Olivier Blin
noreply at github.com
Fri Nov 17 02:59:44 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 734a5ac349dfdd416b16df21782c4cbc6c3c133c
https://github.com/WebKit/WebKit/commit/734a5ac349dfdd416b16df21782c4cbc6c3c133c
Author: Olivier Blin <olivier.blin at softathome.com>
Date: 2023-11-17 (Fri, 17 Nov 2023)
Changed paths:
M Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp
Log Message:
-----------
[GStreamer] Avoid using decoding limits for all configurations
https://bugs.webkit.org/show_bug.cgi?id=264941
Reviewed by Philippe Normand.
When VIDEO_DECODING_LIMIT support is enabled, after a first call of
isContentTypeSupported() with Configuration::Decoding, the video
limits are remembered in a static variable.
They were then used for all subsequent isContentTypeSupported() calls,
regardless of the configuration.
This should be limited to Configuration::Decoding.
* Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
(WebCore::GStreamerRegistryScanner::isContentTypeSupported const):
Canonical link: https://commits.webkit.org/270877@main
More information about the webkit-changes
mailing list