Closed Bug 1731650 Opened 3 years ago Closed 3 years ago

Netflix macOS fullscreen video doesn't trigger the low-power mode

Categories

(Core :: Graphics, defect, P3)

Unspecified
macOS
defect

Tracking

()

RESOLVED DUPLICATE of bug 1736692

People

(Reporter: bradwerth, Assigned: bradwerth)

References

Details

Attachments

(1 obsolete file)

Netflix video takes a different path through WebRender compared to video from YouTube and Twitch. The GMPVideoDecoder seems to send each video frame in a way that the NativeLayerCA code can't detect as a video source, which prevents the macOS low power mode enabled in Bug 1653417 from activating.

A solution will include:

  1. Ensure that NativeLayerCA::IsVideo can detect when a layer is being used to display Netflix video.
  2. Get those video frames encoded in a CMSampleBuffer that will trigger the low power mode.

Where does the construction of the RGB image happen?

I can't find the path where GMPVideoDecoder::Decoded leads to yuv->rgb conversion.

Flags: needinfo?(bwerth)

(In reply to Matt Woodrow (:mattwoodrow) from comment #1)

Where does the construction of the RGB image happen?

I can't find the path where GMPVideoDecoder::Decoded leads to yuv->rgb conversion.

I'm probably wrong about the path taken through the code. I'll continue to investigate and see if I can figure out how the frames are delivered, and in what form.

Flags: needinfo?(bwerth)
Attachment #9243133 - Attachment description: WIP: Bug 1731650: Make the GMP decoder use its compositor when calling `CreateAndCopyData`. → Bug 1731650 Part 1: Make the GMP decoder provide a compositor for `CreateAndCopyData`.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
Attachment #9243133 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: