d3d12converter: Make gamma remap work as intended

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7073>
This commit is contained in:
Seungha Yang 2024-06-20 22:18:02 +09:00 committed by GStreamer Marge Bot
parent 8117ee4fa3
commit c5785fbeec

View file

@ -887,7 +887,7 @@ gst_d3d12_converter_setup_resource (GstD3D12Converter * self,
}
auto in_trc = in_info->colorimetry.transfer;
auto out_trc = in_info->colorimetry.transfer;
auto out_trc = out_info->colorimetry.transfer;
auto gamma_dec_table = gst_d3d12_converter_get_gamma_dec_table (in_trc);
auto gamma_enc_table = gst_d3d12_converter_get_gamma_enc_table (out_trc);