Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBilal Elmoussaoui <belmouss@redhat.com>2023-07-06 16:43:37 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-07-06 17:50:49 +0300
commitdd2d7d9215494cdaac4a361b9fea8fdf01742153 (patch)
treeee335254ac492f376dbc71abb5d267b5c8f16ac6 /utils/togglerecord
parent2cc98bf410f687a1779edb86dd259f377cca1c7b (diff)
Use re-exported once_cell
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1268>
Diffstat (limited to 'utils/togglerecord')
-rw-r--r--utils/togglerecord/Cargo.toml1
-rw-r--r--utils/togglerecord/src/togglerecord/imp.rs2
2 files changed, 1 insertions, 2 deletions
diff --git a/utils/togglerecord/Cargo.toml b/utils/togglerecord/Cargo.toml
index 36edeb2c..585113e4 100644
--- a/utils/togglerecord/Cargo.toml
+++ b/utils/togglerecord/Cargo.toml
@@ -16,7 +16,6 @@ gst-plugin-gtk4 = { path = "../../video/gtk4", optional = true }
gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", optional = true }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true }
parking_lot = "0.12"
-once_cell = "1.0"
[dev-dependencies]
either = "1.0"
diff --git a/utils/togglerecord/src/togglerecord/imp.rs b/utils/togglerecord/src/togglerecord/imp.rs
index adbed4b2..2340220e 100644
--- a/utils/togglerecord/src/togglerecord/imp.rs
+++ b/utils/togglerecord/src/togglerecord/imp.rs
@@ -16,7 +16,7 @@ use gst::glib;
use gst::prelude::*;
use gst::subclass::prelude::*;
-use once_cell::sync::Lazy;
+use gst::glib::once_cell::sync::Lazy;
use parking_lot::{Condvar, Mutex, MutexGuard};
use std::cmp;
use std::collections::HashMap;