mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
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> (cherry picked from commit69db546936) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41402>
This commit is contained in:
parent
2faf689ee9
commit
408b08da2a
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue