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:
authorSeungha Yang <seungha@centricular.com>2023-08-30 17:51:37 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-11-10 18:32:39 +0300
commit98b104dc7b499914ccfdfb38ae7b75c75285acaf (patch)
tree7f6e49b5b65a5b2635d49df7b7ae3f6f81541fde
parentfe333063abfac5924206d1913bb2c6f0e6642be3 (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.lock2
-rw-r--r--net/hlssink3/Cargo.toml2
-rw-r--r--net/hlssink3/src/imp.rs2
-rw-r--r--net/hlssink3/src/lib.rs3
4 files changed, 2 insertions, 7 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 1c84535e..b0d3b6d0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -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;