mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 03:21:03 +00:00
gstreamer-video: ValidVideoTimeCode::add_interval() is guaranteed to return a valid timecode again
So change the return type from VideoTimeCode to ValidVideoTimeCode.
This commit is contained in:
parent
185eb188ca
commit
78a81e2c73
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ impl ValidVideoTimeCode {
|
|||
pub fn add_interval(
|
||||
&self,
|
||||
tc_inter: &VideoTimeCodeInterval,
|
||||
) -> Result<VideoTimeCode, glib::error::BoolError> {
|
||||
) -> Result<ValidVideoTimeCode, glib::error::BoolError> {
|
||||
unsafe {
|
||||
match from_glib_full(gst_video_sys::gst_video_time_code_add_interval(
|
||||
self.to_glib_none().0,
|
||||
|
|
Loading…
Reference in a new issue