Skip to content

Respect video decoding limits in MediaCapabilites queries#1639

Closed
asurdej-comcast wants to merge 1 commit intoWebPlatformForEmbedded:wpe-2.46from
asurdej-comcast:media_capabilities_video_limit
Closed

Respect video decoding limits in MediaCapabilites queries#1639
asurdej-comcast wants to merge 1 commit intoWebPlatformForEmbedded:wpe-2.46from
asurdej-comcast:media_capabilities_video_limit

Conversation

@asurdej-comcast
Copy link

@asurdej-comcast asurdej-comcast commented Mar 16, 2026

@asurdej-comcast asurdej-comcast requested a review from philn as a code owner March 16, 2026 14:30
@modeveci modeveci requested review from vivienne-w and removed request for philn March 17, 2026 11:40
@eocanha eocanha requested review from eocanha and removed request for vivienne-w March 18, 2026 17:01
@eocanha eocanha self-assigned this Mar 18, 2026
@eocanha eocanha added the upstream Related to an upstream bug (or should be at some point) label Mar 18, 2026
eocanha added a commit to eocanha/WebKit that referenced this pull request Mar 18, 2026
https://bugs.webkit.org/show_bug.cgi?id=310192

Reviewed by NOBODY (OOPS!).

The video decoding limits were only had into account in
supportsFeatures() so far. They should also be enforced by the
GStreamerRegistryScanner in isConfigurationSupported() as well.

See: WebPlatformForEmbedded/WPEWebKit#1639

This change checks the limits from isConfigurationSupported(), so it's
enforced from MediaCapabilities queries.

Original author: Andrzej Surdej (https://github.com/asurdej-comcast)

* Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
(WebCore::GStreamerRegistryScanner::isConfigurationSupported const): Check the video decoding limits.
@eocanha
Copy link
Member

eocanha commented Mar 18, 2026

The patch looks good and has been submitted for upstream review as https://bugs.webkit.org/show_bug.cgi?id=310192 / WebKit/WebKit#60868.

webkit-commit-queue pushed a commit to eocanha/WebKit that referenced this pull request Mar 18, 2026
https://bugs.webkit.org/show_bug.cgi?id=310192

Reviewed by Xabier Rodriguez-Calvar.

The video decoding limits were only had into account in
supportsFeatures() so far. They should also be enforced by the
GStreamerRegistryScanner in isConfigurationSupported() as well.

See: WebPlatformForEmbedded/WPEWebKit#1639

This change checks the limits from isConfigurationSupported(), so it's
enforced from MediaCapabilities queries.

Original author: Andrzej Surdej (https://github.com/asurdej-comcast)

* Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
(WebCore::GStreamerRegistryScanner::isConfigurationSupported const): Check the video decoding limits.

Canonical link: https://commits.webkit.org/309507@main
eocanha pushed a commit that referenced this pull request Mar 18, 2026
https://bugs.webkit.org/show_bug.cgi?id=310192

Reviewed by Xabier Rodriguez-Calvar.

The video decoding limits were only had into account in
supportsFeatures() so far. They should also be enforced by the
GStreamerRegistryScanner in isConfigurationSupported() as well.

See: #1639

This change checks the limits from isConfigurationSupported(), so it's
enforced from MediaCapabilities queries.

Original author: Andrzej Surdej (https://github.com/asurdej-comcast)

* Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
(WebCore::GStreamerRegistryScanner::isConfigurationSupported const): Check the video decoding limits.

Canonical link: https://commits.webkit.org/309507@main
@eocanha
Copy link
Member

eocanha commented Mar 18, 2026

The commit landed upstream as WebKit/WebKit@a8e8ac3 and was backported to wpe-2.46 as b665ab2. Closing PR.

@eocanha eocanha closed this Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

upstream Related to an upstream bug (or should be at some point) wpe-2.46

Development

Successfully merging this pull request may close these issues.

3 participants