Skip to content

backends/drm: ensure correct colors with direct scanout of NV12 buffers

Xaver Hugl requested to merge work/zamundaaa/nv12-scanout into master

If another compositor changes the color encoding and color range properties, the resulting colors will be wrong (with !4581 (merged) and a NV12 buffer being scanned out). This commit ensures they're always set to BT.709 limited range to prevent that.

Merge request reports

Loading