frontends/va: Fix setting output color properties from color standard

Fixes: 6e8a8d8ee7 ("frontends/va: Stop using vpp colors standard")
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41024>
(cherry picked from commit 69db546936)
This commit is contained in:
David Rosca 2026-04-17 13:26:18 +02:00 committed by Eric Engestrom
parent 6ffe6d4363
commit 01b71770ac
2 changed files with 2 additions and 2 deletions

View file

@ -2544,7 +2544,7 @@
"description": "frontends/va: Fix setting output color properties from color standard",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "6e8a8d8ee707bf21b6452d61b5412f0981b3eb1e",
"notes": null

View file

@ -704,7 +704,7 @@ vlVaHandleVAProcPipelineParameterBufferType(vlVaDriver *drv, vlVaContext *contex
vpp.out_transfer_characteristics = param->output_color_properties.transfer_characteristics;
vpp.out_matrix_coefficients = param->output_color_properties.matrix_coefficients;
} else {
vlVaGetColorProperties(param->surface_color_standard, &vpp.out_color_primaries,
vlVaGetColorProperties(param->output_color_standard, &vpp.out_color_primaries,
&vpp.out_transfer_characteristics, &vpp.out_matrix_coefficients);
}