forked from mirrors/gstreamer-rs
log: Allow calling DebugCategory::new before gstreamer::init
This is safe.
This commit is contained in:
parent
f40821ba66
commit
a430fd93c8
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ pub struct DebugCategory(ptr::NonNull<gst_sys::GstDebugCategory>);
|
|||
|
||||
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,
|
||||
|
|
Loading…
Reference in a new issue