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:
Thibault Saunier 2023-05-17 12:27:09 -04:00 committed by GStreamer Marge Bot
parent bd79fcf058
commit dfa39be86f

View file

@ -25,6 +25,15 @@ impl ActionRef {
gst::StructureRef::from_glib_borrow_mut((*action).structure) 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 { impl Action {