mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
Update for gst_video_transfer_function_*() function renaming
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-libav/-/merge_requests/89>
This commit is contained in:
parent
93f78bc76b
commit
6a9b42557e
2 changed files with 2 additions and 2 deletions
|
@ -2968,7 +2968,7 @@ gst_ffmpeg_videoinfo_to_context (GstVideoInfo * info, AVCodecContext * context)
|
|||
context->color_primaries =
|
||||
gst_video_color_primaries_to_iso (info->colorimetry.primaries);
|
||||
context->color_trc =
|
||||
gst_video_color_transfer_to_iso (info->colorimetry.transfer);
|
||||
gst_video_transfer_function_to_iso (info->colorimetry.transfer);
|
||||
context->colorspace =
|
||||
gst_video_color_matrix_to_iso (info->colorimetry.matrix);
|
||||
|
||||
|
|
|
@ -1250,7 +1250,7 @@ gst_ffmpegviddec_negotiate (GstFFMpegVidDec * ffmpegdec,
|
|||
if (!gst_structure_has_field (in_s, "colorimetry")
|
||||
|| in_info->colorimetry.transfer == GST_VIDEO_TRANSFER_UNKNOWN) {
|
||||
out_info->colorimetry.transfer =
|
||||
gst_video_color_transfer_from_iso (context->color_trc);
|
||||
gst_video_transfer_function_from_iso (context->color_trc);
|
||||
}
|
||||
|
||||
if (!gst_structure_has_field (in_s, "colorimetry")
|
||||
|
|
Loading…
Reference in a new issue