forked from mirrors/gstreamer-rs
gstreamer/log: Fix debug_remove_default_log_function() to actually work
We have to pass `NULL` / `None` instead of the actual default log function as because of `-Bsymbolic` or how DLLs work on Windows the external function pointer is different to the internal one.
This commit is contained in:
parent
beaa22fabb
commit
ea3d0246bf
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ where
|
|||
pub fn debug_remove_default_log_function() {
|
||||
skip_assert_initialized!();
|
||||
unsafe {
|
||||
gst_sys::gst_debug_remove_log_function(Some(gst_sys::gst_debug_log_default));
|
||||
gst_sys::gst_debug_remove_log_function(None);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue