Bug 264941

Summary: [GStreamer] Avoid using decoding limits for all configurations
Product: WebKit Reporter: Olivier Blin <olivier.blin>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=248961

Description Olivier Blin 2023-11-16 05:09:52 PST
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.
Comment 1 Olivier Blin 2023-11-16 05:11:37 PST
Pull request: https://github.com/WebKit/WebKit/pull/20602
Comment 2 EWS 2023-11-17 02:59:35 PST
Committed 270877@main (734a5ac349df): <https://commits.webkit.org/270877@main>

Reviewed commits have been landed. Closing PR #20602 and removing active labels.