2022-10-15 18:13:32 +00:00
|
|
|
pub mod async_mutex;
|
|
|
|
pub mod sync_mutex;
|
2022-10-11 20:39:37 +00:00
|
|
|
pub mod task;
|
2022-10-15 18:13:32 +00:00
|
|
|
|
|
|
|
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"),
|
|
|
|
)
|
|
|
|
});
|