diff --git a/ext/x265/gstx265enc.c b/ext/x265/gstx265enc.c index fb7771c21f..4b4544bc43 100644 --- a/ext/x265/gstx265enc.c +++ b/ext/x265/gstx265enc.c @@ -893,7 +893,7 @@ gst_x265_enc_init_encoder (GstX265Enc * encoder) encoder->x265param.vui.colorPrimaries = gst_video_color_primaries_to_iso (info->colorimetry.primaries); encoder->x265param.vui.transferCharacteristics = - gst_video_color_transfer_to_iso (info->colorimetry.transfer); + gst_video_transfer_function_to_iso (info->colorimetry.transfer); if (encoder->qp != -1) { /* CQP */ diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index 3e5c760b7b..5c65826e28 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -2121,7 +2121,7 @@ gst_h264_parse_update_src_caps (GstH264Parse * h264parse, GstCaps * caps) ci.matrix = gst_video_color_matrix_from_iso (vui->matrix_coefficients); ci.transfer = - gst_video_color_transfer_from_iso (vui->transfer_characteristics); + gst_video_transfer_function_from_iso (vui->transfer_characteristics); ci.primaries = gst_video_color_primaries_from_iso (vui->colour_primaries); old_colorimetry = diff --git a/gst/videoparsers/gsth265parse.c b/gst/videoparsers/gsth265parse.c index 849e743633..58d3d2478d 100644 --- a/gst/videoparsers/gsth265parse.c +++ b/gst/videoparsers/gsth265parse.c @@ -2062,7 +2062,7 @@ gst_h265_parse_update_src_caps (GstH265Parse * h265parse, GstCaps * caps) ci.matrix = gst_video_color_matrix_from_iso (vui->matrix_coefficients); ci.transfer = - gst_video_color_transfer_from_iso (vui->transfer_characteristics); + gst_video_transfer_function_from_iso (vui->transfer_characteristics); ci.primaries = gst_video_color_primaries_from_iso (vui->colour_primaries); old_colorimetry = diff --git a/sys/nvcodec/gstnvdec.c b/sys/nvcodec/gstnvdec.c index ef7ca4e8e2..2d9dc8652c 100644 --- a/sys/nvcodec/gstnvdec.c +++ b/sys/nvcodec/gstnvdec.c @@ -369,7 +369,7 @@ parser_sequence_callback (GstNvDec * nvdec, CUVIDEOFORMAT * format) (format->video_signal_description.color_primaries); colorimetry.transfer = - gst_video_color_transfer_from_iso + gst_video_transfer_function_from_iso (format->video_signal_description.transfer_characteristics); colorimetry.matrix = diff --git a/sys/nvcodec/gstnvh264enc.c b/sys/nvcodec/gstnvh264enc.c index c9458667ef..a1a584b17c 100644 --- a/sys/nvcodec/gstnvh264enc.c +++ b/sys/nvcodec/gstnvh264enc.c @@ -533,7 +533,7 @@ gst_nv_h264_enc_set_encoder_config (GstNvBaseEnc * nvenc, vui->colourPrimaries = gst_video_color_primaries_to_iso (info->colorimetry.primaries); vui->transferCharacteristics = - gst_video_color_transfer_to_iso (info->colorimetry.transfer); + gst_video_transfer_function_to_iso (info->colorimetry.transfer); return TRUE; } diff --git a/sys/nvcodec/gstnvh265enc.c b/sys/nvcodec/gstnvh265enc.c index ff4e4fe000..6a0dad5f35 100644 --- a/sys/nvcodec/gstnvh265enc.c +++ b/sys/nvcodec/gstnvh265enc.c @@ -598,7 +598,7 @@ gst_nv_h265_enc_set_encoder_config (GstNvBaseEnc * nvenc, vui->colourPrimaries = gst_video_color_primaries_to_iso (info->colorimetry.primaries); vui->transferCharacteristics = - gst_video_color_transfer_to_iso (info->colorimetry.transfer); + gst_video_transfer_function_to_iso (info->colorimetry.transfer); gst_nv_h265_enc_clear_stream_data (h265enc);