mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-29 15:01:07 +00:00
4ad101b53b
The glib crate does not depend on it anymore and also does not re-export it anymore. Also switch some usages of OnceCell to OnceLock from std. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1441>
22 lines
591 B
Rust
22 lines
591 B
Rust
pub mod async_mutex;
|
|
pub mod sync_mutex;
|
|
pub mod task;
|
|
|
|
mod settings;
|
|
pub use settings::Settings;
|
|
|
|
mod stats;
|
|
pub use stats::Stats;
|
|
|
|
pub const ASYNC_MUTEX_ELEMENT_NAME: &str = "ts-standalone-async-mutex-sink";
|
|
pub const SYNC_MUTEX_ELEMENT_NAME: &str = "ts-standalone-sync-mutex-sink";
|
|
pub const TASK_ELEMENT_NAME: &str = "ts-standalone-task-sink";
|
|
|
|
use once_cell::sync::Lazy;
|
|
static CAT: Lazy<gst::DebugCategory> = Lazy::new(|| {
|
|
gst::DebugCategory::new(
|
|
"ts-standalone-sink",
|
|
gst::DebugColorFlags::empty(),
|
|
Some("Thread-sharing standalone test sink"),
|
|
)
|
|
});
|