mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-28 19:10:34 +00:00
validate: action: Bind the set_done action type
`gst_validate_action_set_done` is MT safe so we can simply call it. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1265>
This commit is contained in:
parent
bd79fcf058
commit
dfa39be86f
1 changed files with 9 additions and 0 deletions
|
@ -25,6 +25,15 @@ impl ActionRef {
|
|||
gst::StructureRef::from_glib_borrow_mut((*action).structure)
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(alias = "gst_validate_action_set_done")]
|
||||
pub fn set_done(&self) {
|
||||
unsafe {
|
||||
let action = self.as_mut_ptr();
|
||||
|
||||
ffi::gst_validate_action_set_done(action);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Action {
|
||||
|
|
Loading…
Reference in a new issue