diff options
author | François Laignel <fengalin@free.fr> | 2021-06-03 21:20:54 +0300 |
---|---|---|
committer | François Laignel <fengalin@free.fr> | 2021-06-03 21:53:16 +0300 |
commit | 8dfc872544b26aa5eaf4b12da7d9c5e0361467ca (patch) | |
tree | e314ee0cfde5930ac50a5bfd985b34d1129362b0 /video/gif | |
parent | 91c8fd146dd477ce744bec944395672719a13ebe (diff) |
use gst::glib where applicable
Diffstat (limited to 'video/gif')
-rw-r--r-- | video/gif/Cargo.toml | 1 | ||||
-rw-r--r-- | video/gif/src/gifenc/imp.rs | 2 | ||||
-rw-r--r-- | video/gif/src/gifenc/mod.rs | 3 | ||||
-rw-r--r-- | video/gif/src/lib.rs | 2 |
4 files changed, 5 insertions, 3 deletions
diff --git a/video/gif/Cargo.toml b/video/gif/Cargo.toml index c0834168e..2f3d8b56c 100644 --- a/video/gif/Cargo.toml +++ b/video/gif/Cargo.toml @@ -8,7 +8,6 @@ edition = "2018" description = "GStreamer GIF plugin" [dependencies] -glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" } gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" } gif = "0.11" diff --git a/video/gif/src/gifenc/imp.rs b/video/gif/src/gifenc/imp.rs index 0fbc04d92..873e2271c 100644 --- a/video/gif/src/gifenc/imp.rs +++ b/video/gif/src/gifenc/imp.rs @@ -7,7 +7,7 @@ // except according to those terms. use atomic_refcell::AtomicRefCell; -use glib::subclass::prelude::*; +use gst::glib; use gst::gst_debug; use gst::subclass::prelude::*; use gst_video::prelude::*; diff --git a/video/gif/src/gifenc/mod.rs b/video/gif/src/gifenc/mod.rs index 8fc9da5b1..6ebf0c2c8 100644 --- a/video/gif/src/gifenc/mod.rs +++ b/video/gif/src/gifenc/mod.rs @@ -6,7 +6,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use glib::prelude::*; +use gst::glib; +use gst::prelude::*; mod imp; diff --git a/video/gif/src/lib.rs b/video/gif/src/lib.rs index b1e637cee..2c8e7f4a1 100644 --- a/video/gif/src/lib.rs +++ b/video/gif/src/lib.rs @@ -6,6 +6,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +use gst::glib; + mod gifenc; fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { |