diff --git a/utils/tracers/src/lib.rs b/utils/tracers/src/lib.rs index c72d4b85..681205f1 100644 --- a/utils/tracers/src/lib.rs +++ b/utils/tracers/src/lib.rs @@ -10,10 +10,12 @@ use gst::glib; mod buffer_lateness; +#[cfg(unix)] mod pipeline_snapshot; mod queue_levels; fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { + #[cfg(unix)] pipeline_snapshot::register(plugin)?; queue_levels::register(plugin)?; buffer_lateness::register(plugin)?;