diff --git a/gstreamer-check/src/auto/test_clock.rs b/gstreamer-check/src/auto/test_clock.rs index 24dd5b79c..d861596a3 100644 --- a/gstreamer-check/src/auto/test_clock.rs +++ b/gstreamer-check/src/auto/test_clock.rs @@ -55,12 +55,11 @@ impl TestClock { #[doc(alias = "gst_test_clock_get_next_entry_time")] #[doc(alias = "get_next_entry_time")] - pub fn next_entry_time(&self) -> gst::ClockTime { + pub fn next_entry_time(&self) -> Option { unsafe { - try_from_glib(ffi::gst_test_clock_get_next_entry_time( + from_glib(ffi::gst_test_clock_get_next_entry_time( self.to_glib_none().0, )) - .expect("mandatory glib value is None") } }