-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[GStreamer] Don't advertise support for HDR on systems that don't explicitly declare that support #51577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
EWS run on previous version of this PR (hash 31df116) Details |
|
Sorry, this is embarrassing... It turns out that using WebKitGTK to check if a code ifdeffed for WPE works or even builds doesn't look like a great idea. "Now I understand why it was building on my machine" 🤦 I'm submitting a new version with the extra required includes. |
|
EWS run on previous version of this PR (hash d6c7252) Details |
| videoConfiguration.bitrate, videoConfiguration.framerate); | ||
| #endif | ||
|
|
||
| #if PLATFORM(WPE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove this please?
|
EWS run on current version of this PR (hash d34484c) Details |
…licitly declare that support https://bugs.webkit.org/show_bug.cgi?id=299873 Reviewed by Philippe Normand. Some websites and JS players can try to play HDR video on systems that don't support it. Even when there isn't an effective HDR connected screen detection mechanism yet in place on GStreamer ports, it would be nice to at least report HDR as unsupported to those webpages asking for it. See: WebPlatformForEmbedded/WPEWebKit#1564 This patch now filters the MediaCapabilities query, so if the webpage is asking for an hdrMetadataType or a transferFunction and our internal screen data doesn't acknowledge the presence of an HDR screen, we reply that such MediaCapabilities combination is not supported. Also, if the requested codecs aren't supported (even by software), we now return that the MediaCapabilities combination is not supported. Original author: Andrzej Surdej <Andrzej_Surdej@comcast.com> * Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp: (WebCore::GStreamerRegistryScanner::isConfigurationSupported const): Apply filters. Check if codecs are supported. Canonical link: https://commits.webkit.org/301049@main
d34484c to
989ce9f
Compare
|
Committed 301049@main (989ce9f): https://commits.webkit.org/301049@main Reviewed commits have been landed. Closing PR #51577 and removing active labels. |
989ce9f
d34484c