mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-23 01:51:06 +00:00
Add Event::set_running_time_offset()
This commit is contained in:
parent
e5bbf93670
commit
88ff4289d1
1 changed files with 3 additions and 0 deletions
|
@ -100,6 +100,9 @@ impl EventRef {
|
|||
unsafe { ffi::gst_event_get_running_time_offset(self.as_mut_ptr()) }
|
||||
}
|
||||
|
||||
pub fn set_running_time_offset(&mut self, offset: i64) {
|
||||
unsafe { ffi::gst_event_set_running_time_offset(self.as_mut_ptr(), offset) }
|
||||
}
|
||||
|
||||
pub fn get_structure(&self) -> Option<&StructureRef> {
|
||||
unsafe {
|
||||
|
|
Loading…
Reference in a new issue