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/flavors | |
parent | 91c8fd146dd477ce744bec944395672719a13ebe (diff) |
use gst::glib where applicable
Diffstat (limited to 'video/flavors')
-rw-r--r-- | video/flavors/Cargo.toml | 1 | ||||
-rw-r--r-- | video/flavors/src/flvdemux/imp.rs | 1 | ||||
-rw-r--r-- | video/flavors/src/flvdemux/mod.rs | 3 | ||||
-rw-r--r-- | video/flavors/src/lib.rs | 2 |
4 files changed, 5 insertions, 2 deletions
diff --git a/video/flavors/Cargo.toml b/video/flavors/Cargo.toml index edf05bcd5..ad916afcd 100644 --- a/video/flavors/Cargo.toml +++ b/video/flavors/Cargo.toml @@ -8,7 +8,6 @@ edition = "2018" description = "Rust FLV Plugin" [dependencies] -glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" } gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" } num-rational = { version = "0.4", default-features = false, features = [] } diff --git a/video/flavors/src/flvdemux/imp.rs b/video/flavors/src/flvdemux/imp.rs index 89bcdbf78..ee7e0b7b7 100644 --- a/video/flavors/src/flvdemux/imp.rs +++ b/video/flavors/src/flvdemux/imp.rs @@ -13,6 +13,7 @@ use std::sync::Mutex; #[rustfmt::skip] use ::flavors::parser as flavors; +use gst::glib; use gst::prelude::*; use gst::subclass::prelude::*; use gst::{gst_debug, gst_error, gst_log, gst_trace, gst_warning}; diff --git a/video/flavors/src/flvdemux/mod.rs b/video/flavors/src/flvdemux/mod.rs index b27abffa7..86f9cc4c1 100644 --- a/video/flavors/src/flvdemux/mod.rs +++ b/video/flavors/src/flvdemux/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/flavors/src/lib.rs b/video/flavors/src/lib.rs index e7aa02669..154597771 100644 --- a/video/flavors/src/lib.rs +++ b/video/flavors/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 bytes; mod flvdemux; |