diff --git a/gstreamer/src/log.rs b/gstreamer/src/log.rs index 8771f89fd..edb96bdc9 100644 --- a/gstreamer/src/log.rs +++ b/gstreamer/src/log.rs @@ -51,7 +51,7 @@ pub struct DebugCategory(ptr::NonNull); impl DebugCategory { pub fn new(name: &str, color: ::DebugColorFlags, description: Option<&str>) -> DebugCategory { - assert_initialized_main_thread!(); + skip_assert_initialized!(); extern "C" { fn _gst_debug_category_new( name: *const c_char,