diff options
author | Seungha Yang <seungha@centricular.com> | 2023-08-30 17:51:37 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2023-11-10 18:32:39 +0300 |
commit | 98b104dc7b499914ccfdfb38ae7b75c75285acaf (patch) | |
tree | 7f6e49b5b65a5b2635d49df7b7ae3f6f81541fde | |
parent | fe333063abfac5924206d1913bb2c6f0e6642be3 (diff) |
hlssink3: Remove unused deps
gstreamer-base dep is unused. And use gst::glib
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1387>
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | net/hlssink3/Cargo.toml | 2 | ||||
-rw-r--r-- | net/hlssink3/src/imp.rs | 2 | ||||
-rw-r--r-- | net/hlssink3/src/lib.rs | 3 |
4 files changed, 2 insertions, 7 deletions
@@ -2219,11 +2219,9 @@ name = "gst-plugin-hlssink3" version = "0.9.11" dependencies = [ "gio", - "glib", "gst-plugin-version-helper", "gstreamer", "gstreamer-audio", - "gstreamer-base", "gstreamer-check", "m3u8-rs", "once_cell", diff --git a/net/hlssink3/Cargo.toml b/net/hlssink3/Cargo.toml index bdba7923..89c81c95 100644 --- a/net/hlssink3/Cargo.toml +++ b/net/hlssink3/Cargo.toml @@ -10,8 +10,6 @@ rust-version = "1.63" [dependencies] gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.19", version = "0.19.1" } -gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.19", version = "0.19" } -glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", version = "0.16.2" } gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", version = "0.16" } once_cell = "1.7.2" m3u8-rs = "5.0" diff --git a/net/hlssink3/src/imp.rs b/net/hlssink3/src/imp.rs index f9737afa..5d19cb7c 100644 --- a/net/hlssink3/src/imp.rs +++ b/net/hlssink3/src/imp.rs @@ -9,7 +9,7 @@ use crate::playlist::Playlist; use crate::HlsSink3PlaylistType; use gio::prelude::*; -use glib::subclass::prelude::*; +use gst::glib; use gst::prelude::*; use gst::subclass::prelude::*; use m3u8_rs::MediaPlaylistType; diff --git a/net/hlssink3/src/lib.rs b/net/hlssink3/src/lib.rs index ecd25f00..0c35acb4 100644 --- a/net/hlssink3/src/lib.rs +++ b/net/hlssink3/src/lib.rs @@ -12,8 +12,7 @@ * * Since: plugins-rs-0.8.0 */ -use glib::prelude::*; -#[cfg(feature = "doc")] +use gst::glib; use gst::prelude::*; mod imp; |