mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-08 18:25:30 +00:00
Update to reqwest 0.8
This commit is contained in:
parent
d8dbe8414c
commit
d4138cb566
2 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ license = "MIT/Apache-2.0"
|
|||
url = "1.1"
|
||||
gst-plugin = { path="../gst-plugin" }
|
||||
gst-plugin-simple = { path="../gst-plugin-simple" }
|
||||
reqwest = "0.7"
|
||||
reqwest = "0.8"
|
||||
gstreamer = { git = "https://github.com/sdroege/gstreamer-rs", features = ["v1_10"] }
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -50,7 +50,7 @@ impl HttpSrc {
|
|||
gst::DebugColorFlags::empty(),
|
||||
"Rust HTTP source",
|
||||
),
|
||||
client: Client::new().unwrap(),
|
||||
client: Client::new(),
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -66,7 +66,7 @@ impl HttpSrc {
|
|||
stop: Option<u64>,
|
||||
) -> Result<StreamingState, ErrorMessage> {
|
||||
let cat = self.cat;
|
||||
let mut req = self.client.get(uri.clone()).unwrap();
|
||||
let mut req = self.client.get(uri.clone());
|
||||
|
||||
match (start != 0, stop) {
|
||||
(false, None) => (),
|
||||
|
|
Loading…
Reference in a new issue