mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 13:01:07 +00:00
tracers: Enable PipelineSnapshot only for unix target
This implementation does not support the other targets (it uses SIGUSR1 which does not exist on Windows) and would not be compiled
This commit is contained in:
parent
7eea27aefc
commit
a9a41a54be
1 changed files with 2 additions and 0 deletions
|
@ -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)?;
|
||||
|
|
Loading…
Reference in a new issue