mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-28 20:41:31 +00:00
video: Add #[must_use]
attribute to VideoTimeCode::add_interval()
It doesn't change the original value but returns the new result. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1530>
This commit is contained in:
parent
314731b62c
commit
7dd435daa6
1 changed files with 1 additions and 0 deletions
|
@ -239,6 +239,7 @@ impl ValidVideoTimeCode {
|
|||
}
|
||||
|
||||
#[doc(alias = "gst_video_time_code_add_interval")]
|
||||
#[must_use = "this returns the result of the operation, without modifying the original"]
|
||||
pub fn add_interval(
|
||||
&self,
|
||||
tc_inter: &VideoTimeCodeInterval,
|
||||
|
|
Loading…
Reference in a new issue