forked from mirrors/gstreamer-rs
gstreamer: Implement deinit() function
This function is especially usefull when using the leaks tracer. It was removed
in commit e7a0543c
.
This commit is contained in:
parent
ccca8248c3
commit
58741b7ea2
1 changed files with 4 additions and 0 deletions
|
@ -255,6 +255,10 @@ pub fn init() -> Result<(), glib::Error> {
|
|||
}
|
||||
}
|
||||
|
||||
pub unsafe fn deinit() {
|
||||
ffi::gst_deinit();
|
||||
}
|
||||
|
||||
pub const BUFFER_OFFSET_NONE: u64 = ffi::GST_BUFFER_OFFSET_NONE;
|
||||
pub const CLOCK_TIME_NONE: ClockTime = ClockTime(None);
|
||||
|
||||
|
|
Loading…
Reference in a new issue