mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +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>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41024>
This commit is contained in:
parent
4e67582ddf
commit
69db546936
1 changed files with 1 additions and 1 deletions
|
|
@ -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