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:
Philippe Normand 2018-08-04 10:39:38 +01:00 committed by Sebastian Dröge
parent 5c2addb37b
commit bf4defb6a3

View file

@ -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 CLOCK_TIME_NONE: ClockTime = ClockTime(None);