video: Rename gst_video_color_transfer_*() to gst_video_transfer_function_*() in...
authorSebastian Dröge <sebastian@centricular.com>
Mon, 7 Sep 2020 09:10:16 +0000 (12:10 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 7 Sep 2020 10:04:20 +0000 (13:04 +0300)
commit91ec4e06d7d16afd632cdeb1507f01547cd168a7
tree8929fa1a16892499a6a38bd03d09bdae84806228
parent24d939a19bca07d6fb888dbfb46c06d1bf5e87d6
video: Rename gst_video_color_transfer_*() to gst_video_transfer_function_*() in new API

The type is called GstVideoTransferFunction so the function names should
match, otherwise gobject-introspection is keeping the functions as
global functions instead of methods on the type.

The same mistake was also made in lots of other APIs over the years, but
here we can at least fix it for 1.18 still.

Thanks to Marijn Suijten for noticing.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/807>
gst-libs/gst/video/video-color.c
gst-libs/gst/video/video-color.h
gst-libs/gst/video/video-converter.c
gst/videoconvert/gstvideoconvert.c
tests/check/libs/video.c