From 68c2b196806453c6de9ef80bd30f79572267b704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 8 Sep 2020 15:43:05 +0300 Subject: [PATCH] video: Rename VideoTransferFunction functions --- gstreamer-video/src/video_info.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gstreamer-video/src/video_info.rs b/gstreamer-video/src/video_info.rs index 180579978..64233ebb8 100644 --- a/gstreamer-video/src/video_info.rs +++ b/gstreamer-video/src/video_info.rs @@ -221,7 +221,7 @@ impl ::VideoTransferFunction { assert_initialized_main_thread!(); unsafe { - let value = from_glib(gst_video_sys::gst_video_color_transfer_from_iso(iso)); + let value = from_glib(gst_video_sys::gst_video_transfer_function_from_iso(iso)); match value { ::VideoTransferFunction::__Unknown(_) => Err(glib_bool_error!("Invalid ISO value")), _ => Ok(value), @@ -231,7 +231,7 @@ impl ::VideoTransferFunction { #[cfg(any(feature = "v1_18", feature = "dox"))] pub fn to_iso(&self) -> u32 { - unsafe { gst_video_sys::gst_video_color_transfer_to_iso(self.to_glib()) } + unsafe { gst_video_sys::gst_video_transfer_function_to_iso(self.to_glib()) } } #[cfg(any(feature = "v1_18", feature = "dox"))] @@ -242,7 +242,7 @@ impl ::VideoTransferFunction { to_bpp: u32, ) -> bool { unsafe { - from_glib(gst_video_sys::gst_video_color_transfer_is_equivalent( + from_glib(gst_video_sys::gst_video_transfer_function_is_equivalent( self.to_glib(), from_bpp, to_func.to_glib(),