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>
This commit is contained in:
Seungha Yang 2023-08-30 23:51:37 +09:00 committed by Sebastian Dröge
parent fe333063ab
commit 98b104dc7b
4 changed files with 2 additions and 7 deletions

2
Cargo.lock generated
View file

@ -2219,11 +2219,9 @@ name = "gst-plugin-hlssink3"
version = "0.9.11" version = "0.9.11"
dependencies = [ dependencies = [
"gio", "gio",
"glib",
"gst-plugin-version-helper", "gst-plugin-version-helper",
"gstreamer", "gstreamer",
"gstreamer-audio", "gstreamer-audio",
"gstreamer-base",
"gstreamer-check", "gstreamer-check",
"m3u8-rs", "m3u8-rs",
"once_cell", "once_cell",

View file

@ -10,8 +10,6 @@ rust-version = "1.63"
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", branch = "0.19", version = "0.19.1" } 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" } gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", version = "0.16" }
once_cell = "1.7.2" once_cell = "1.7.2"
m3u8-rs = "5.0" m3u8-rs = "5.0"

View file

@ -9,7 +9,7 @@
use crate::playlist::Playlist; use crate::playlist::Playlist;
use crate::HlsSink3PlaylistType; use crate::HlsSink3PlaylistType;
use gio::prelude::*; use gio::prelude::*;
use glib::subclass::prelude::*; use gst::glib;
use gst::prelude::*; use gst::prelude::*;
use gst::subclass::prelude::*; use gst::subclass::prelude::*;
use m3u8_rs::MediaPlaylistType; use m3u8_rs::MediaPlaylistType;

View file

@ -12,8 +12,7 @@
* *
* Since: plugins-rs-0.8.0 * Since: plugins-rs-0.8.0
*/ */
use glib::prelude::*; use gst::glib;
#[cfg(feature = "doc")]
use gst::prelude::*; use gst::prelude::*;
mod imp; mod imp;