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/1306>
This commit is contained in:
Seungha Yang 2023-08-30 23:51:37 +09:00
parent c4d371d163
commit a8d67cc607
3 changed files with 2 additions and 5 deletions

View file

@ -10,8 +10,6 @@ rust-version = "1.70"
[dependencies] [dependencies]
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" } gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core" } gio = { git = "https://github.com/gtk-rs/gtk-rs-core" }
once_cell = "1.7.2" once_cell = "1.7.2"
m3u8-rs = "5.0" m3u8-rs = "5.0"

View file

@ -10,7 +10,7 @@ use crate::playlist::Playlist;
use crate::HlsSink3PlaylistType; use crate::HlsSink3PlaylistType;
use chrono::{DateTime, Duration, Utc}; use chrono::{DateTime, Duration, Utc};
use gio::prelude::*; use gio::prelude::*;
use glib::subclass::prelude::*; use gst::glib;
use gst::glib::once_cell::sync::Lazy; use gst::glib::once_cell::sync::Lazy;
use gst::prelude::*; use gst::prelude::*;
use gst::subclass::prelude::*; use gst::subclass::prelude::*;

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;