From 78a81e2c733f7b802af5195422d1eea8343b9c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 14 Apr 2020 17:24:11 +0300 Subject: [PATCH] gstreamer-video: ValidVideoTimeCode::add_interval() is guaranteed to return a valid timecode again So change the return type from VideoTimeCode to ValidVideoTimeCode. --- gstreamer-video/src/video_time_code.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gstreamer-video/src/video_time_code.rs b/gstreamer-video/src/video_time_code.rs index 99fa7c75f..c2530483f 100644 --- a/gstreamer-video/src/video_time_code.rs +++ b/gstreamer-video/src/video_time_code.rs @@ -204,7 +204,7 @@ impl ValidVideoTimeCode { pub fn add_interval( &self, tc_inter: &VideoTimeCodeInterval, - ) -> Result { + ) -> Result { unsafe { match from_glib_full(gst_video_sys::gst_video_time_code_add_interval( self.to_glib_none().0,