Commit bf4defb6 authored by Philippe Normand's avatar Philippe Normand 🦀 Committed by Sebastian Dröge

gstreamer: Implement deinit() function

This function is especially usefull when using the leaks tracer. It was removed
in commit e7a0543c.
parent 5c2addb3
...@@ -216,6 +216,10 @@ pub fn init() -> Result<(), glib::Error> { ...@@ -216,6 +216,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 BUFFER_OFFSET_NONE: u64 = ffi::GST_BUFFER_OFFSET_NONE;
pub const CLOCK_TIME_NONE: ClockTime = ClockTime(None); pub const CLOCK_TIME_NONE: ClockTime = ClockTime(None);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment