WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
232671
[Catalina] HLS streams will not select HDR variants when GPU Process is enabled
https://bugs.webkit.org/show_bug.cgi?id=232671
Summary
[Catalina] HLS streams will not select HDR variants when GPU Process is enabled
Jer Noble
Reported
2021-11-03 10:46:03 PDT
[Catalina] HLS streams will not select HDR variants when GPU Process is enabled
Attachments
Patch
(7.85 KB, patch)
2021-11-03 10:51 PDT
,
Jer Noble
no flags
Details
Formatted Diff
Diff
Patch for landing
(7.99 KB, patch)
2021-11-03 12:35 PDT
,
Jer Noble
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jer Noble
Comment 1
2021-11-03 10:46:32 PDT
<
rdar://84686676
>
Jer Noble
Comment 2
2021-11-03 10:51:32 PDT
Created
attachment 443212
[details]
Patch
Eric Carlson
Comment 3
2021-11-03 12:01:03 PDT
Comment on
attachment 443212
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=443212&action=review
> Source/WebKit/GPUProcess/mac/GPUProcessMac.mm:88 > + if (hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer)) {
Nit: this comment is confusing, does "hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer)" imply AVPlayer.videoRangeOverride isn't present?
Jer Noble
Comment 4
2021-11-03 12:11:01 PDT
(In reply to Eric Carlson from
comment #3
)
> Comment on
attachment 443212
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=443212&action=review
> > > Source/WebKit/GPUProcess/mac/GPUProcessMac.mm:88 > > + if (hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer)) { > > Nit: this comment is confusing, does > "hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer)" > imply AVPlayer.videoRangeOverride isn't present?
No, it's the `#if !HAVE(AVPLAYER_VIDEORANGEOVERRIDE` above that does that. I can move the comment around.
Jer Noble
Comment 5
2021-11-03 12:35:33 PDT
Created
attachment 443224
[details]
Patch for landing
EWS
Comment 6
2021-11-03 13:09:08 PDT
Committed
r285219
(
243844@main
): <
https://commits.webkit.org/243844@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 443224
[details]
.
Per Arne Vollan
Comment 7
2021-11-03 13:18:46 PDT
Comment on
attachment 443224
[details]
Patch for landing View in context:
https://bugs.webkit.org/attachment.cgi?id=443224&action=review
> Source/WebKit/GPUProcess/mac/GPUProcessMac.mm:94 > + // This override is not necessary if AVFoundation is allowed to communicate > + // with the window server to query for HDR support. > + if (hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer)) { > + setShouldOverrideScreenSupportsHighDynamicRange(false, false); > + return; > + }
This piece might not be needed, since I think hasProcessPrivilege will always return false in the GPU process for this privilege.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug