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:
authorSebastian Dröge <sebastian@centricular.com>2021-11-18 22:44:09 +0300
committerSebastian Dröge <sebastian@centricular.com>2021-11-18 22:44:09 +0300
commit8722206be899815e720b9e398636729a5a75632c (patch)
tree9f1ee5fe9dc2e82e59ff8668d052cde0d9614cd7 /net/hlssink3
parent29d310a2abd15e8cd1724a893d62870d0a6f0ebc (diff)
hlssink3: Update to m3u8-rs 3
This uses nom 7 now.
Diffstat (limited to 'net/hlssink3')
-rw-r--r--net/hlssink3/Cargo.toml2
-rw-r--r--net/hlssink3/src/imp.rs2
-rw-r--r--net/hlssink3/src/playlist.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/net/hlssink3/Cargo.toml b/net/hlssink3/Cargo.toml
index cf696364..7e1bde32 100644
--- a/net/hlssink3/Cargo.toml
+++ b/net/hlssink3/Cargo.toml
@@ -15,7 +15,7 @@ gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gst
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core" }
once_cell = "1.7.2"
-m3u8-rs = "2.0.0"
+m3u8-rs = "3"
regex = "1"
[dev-dependencies]
diff --git a/net/hlssink3/src/imp.rs b/net/hlssink3/src/imp.rs
index 22e8c0f4..cb4359d4 100644
--- a/net/hlssink3/src/imp.rs
+++ b/net/hlssink3/src/imp.rs
@@ -13,7 +13,7 @@ use glib::subclass::prelude::*;
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{gst_debug, gst_error, gst_info, gst_trace, gst_warning};
-use m3u8_rs::playlist::MediaPlaylistType;
+use m3u8_rs::MediaPlaylistType;
use once_cell::sync::Lazy;
use std::fs;
use std::io::Write;
diff --git a/net/hlssink3/src/playlist.rs b/net/hlssink3/src/playlist.rs
index a617b7df..a5d228f1 100644
--- a/net/hlssink3/src/playlist.rs
+++ b/net/hlssink3/src/playlist.rs
@@ -7,7 +7,7 @@
//
// SPDX-License-Identifier: MPL-2.0
-use m3u8_rs::playlist::{MediaPlaylist, MediaPlaylistType, MediaSegment};
+use m3u8_rs::{MediaPlaylist, MediaPlaylistType, MediaSegment};
use once_cell::sync::Lazy;
use regex::Regex;
use std::io::Write;