x264: Update for gst_video_transfer_function_*() function renaming

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/68>
This commit is contained in:
Sebastian Dröge 2020-09-07 12:14:13 +03:00
parent 60337ffed9
commit 951e2604e7

View file

@ -1678,7 +1678,7 @@ gst_x264_enc_init_encoder (GstX264Enc * encoder)
gst_video_color_primaries_to_iso (info->colorimetry.primaries);
encoder->x264param.vui.i_transfer =
gst_video_color_transfer_to_iso (info->colorimetry.transfer);
gst_video_transfer_function_to_iso (info->colorimetry.transfer);
encoder->x264param.vui.i_colmatrix =
gst_video_color_matrix_to_iso (info->colorimetry.matrix);