diff options
author | Bilal Elmoussaoui <belmouss@redhat.com> | 2023-07-06 16:43:37 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2023-07-06 17:50:49 +0300 |
commit | dd2d7d9215494cdaac4a361b9fea8fdf01742153 (patch) | |
tree | ee335254ac492f376dbc71abb5d267b5c8f16ac6 /tutorial/src | |
parent | 2cc98bf410f687a1779edb86dd259f377cca1c7b (diff) |
Use re-exported once_cell
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1268>
Diffstat (limited to 'tutorial/src')
-rw-r--r-- | tutorial/src/identity/imp.rs | 2 | ||||
-rw-r--r-- | tutorial/src/progressbin/imp.rs | 2 | ||||
-rw-r--r-- | tutorial/src/rgb2gray/imp.rs | 2 | ||||
-rw-r--r-- | tutorial/src/sinesrc/imp.rs | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tutorial/src/identity/imp.rs b/tutorial/src/identity/imp.rs index 7b26806cf..e5599bb36 100644 --- a/tutorial/src/identity/imp.rs +++ b/tutorial/src/identity/imp.rs @@ -12,7 +12,7 @@ use gst::glib; use gst::prelude::*; use gst::subclass::prelude::*; -use once_cell::sync::Lazy; +use gst::glib::once_cell::sync::Lazy; // This module contains the private implementation details of our element diff --git a/tutorial/src/progressbin/imp.rs b/tutorial/src/progressbin/imp.rs index eee52691a..72bdd5285 100644 --- a/tutorial/src/progressbin/imp.rs +++ b/tutorial/src/progressbin/imp.rs @@ -13,7 +13,7 @@ use gst::prelude::*; use gst::subclass::prelude::*; use std::sync::Mutex; -use once_cell::sync::Lazy; +use gst::glib::once_cell::sync::Lazy; use super::ProgressBinOutput; diff --git a/tutorial/src/rgb2gray/imp.rs b/tutorial/src/rgb2gray/imp.rs index 63201fc81..e11fe37bc 100644 --- a/tutorial/src/rgb2gray/imp.rs +++ b/tutorial/src/rgb2gray/imp.rs @@ -16,7 +16,7 @@ use gst_video::subclass::prelude::*; use std::sync::Mutex; -use once_cell::sync::Lazy; +use gst::glib::once_cell::sync::Lazy; // This module contains the private implementation details of our element // diff --git a/tutorial/src/sinesrc/imp.rs b/tutorial/src/sinesrc/imp.rs index 8e70e9ef5..d2e98c3df 100644 --- a/tutorial/src/sinesrc/imp.rs +++ b/tutorial/src/sinesrc/imp.rs @@ -24,7 +24,7 @@ use std::u32; use num_traits::cast::NumCast; use num_traits::float::Float; -use once_cell::sync::Lazy; +use gst::glib::once_cell::sync::Lazy; // This module contains the private implementation details of our element |