mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
Update Rust dependencies
This commit is contained in:
parent
6620b49d50
commit
1595972c90
3 changed files with 538 additions and 456 deletions
976
webrtc/sendrecv/gst-rust/Cargo.lock
generated
976
webrtc/sendrecv/gst-rust/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -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"
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue