Update Rust dependencies

This commit is contained in:
Emmanuel Gil Peyrot 2019-02-26 18:19:13 +01:00 committed by Sebastian Dröge
parent 6620b49d50
commit 1595972c90
3 changed files with 538 additions and 456 deletions

File diff suppressed because it is too large Load diff

View file

@ -6,13 +6,13 @@ authors = ["maxmcd <max.t.mcdonnell@gmail.com>"]
[dependencies]
clap = "2.31.2"
failure = "0.1.1"
glib = "0.6"
gstreamer = "0.12"
gstreamer-sdp = "0.12"
gstreamer-webrtc = "0.12"
glib = "0.7"
gstreamer = "0.13"
gstreamer-sdp = "0.13"
gstreamer-webrtc = "0.13"
lazy_static = "1.0"
rand = "0.5"
rand = "0.6"
serde = "1.0.66"
serde_derive = "1.0.66"
serde_json = "1.0.19"
websocket = "0.20.2"
websocket = "0.22"

View file

@ -231,7 +231,7 @@ fn handle_media_stream(
sink.sync_state_with_parent()?;
let qpad = q.get_static_pad("sink").unwrap();
pad.link(&qpad).into_result()?;
pad.link(&qpad)?;
Ok(())
}
@ -462,7 +462,7 @@ impl AppControl {
on_incoming_stream(&app_control_clone, values, &pipe_clone)
})?;
pipe.set_state(gst::State::Playing).into_result()?;
pipe.set_state(gst::State::Playing)?;
self.0.lock().unwrap().webrtc = Some(webrtc);
@ -614,7 +614,7 @@ impl AppControl {
(app_control.pipeline.clone(), app_control.main_loop.clone())
};
pipeline.set_state(gst::State::Null).into_result().unwrap();
pipeline.set_state(gst::State::Null).unwrap();
main_loop.quit();
}