mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-28 22:41:02 +00:00
Fix a couple of typos
This commit is contained in:
parent
983f990fe9
commit
58adebb325
2 changed files with 3 additions and 3 deletions
|
@ -1082,8 +1082,8 @@ impl ObjectImpl for UdpSink {
|
||||||
.unwrap_or_else(|| "".into());
|
.unwrap_or_else(|| "".into());
|
||||||
|
|
||||||
let clients = clients.split(',').filter_map(|client| {
|
let clients = clients.split(',').filter_map(|client| {
|
||||||
let mut splited = client.splitn(2, ':');
|
let mut split = client.splitn(2, ':');
|
||||||
if let Some((addr, port)) = splited.next().zip(splited.next()) {
|
if let Some((addr, port)) = split.next().zip(split.next()) {
|
||||||
match port.parse::<i32>() {
|
match port.parse::<i32>() {
|
||||||
Ok(port) => match self.try_into_socket_addr(addr, port) {
|
Ok(port) => match self.try_into_socket_addr(addr, port) {
|
||||||
Ok(socket_addr) => Some(socket_addr),
|
Ok(socket_addr) => Some(socket_addr),
|
||||||
|
|
|
@ -2685,7 +2685,7 @@ impl BaseWebRTCSink {
|
||||||
signaller.end_session(session_id);
|
signaller.end_session(session_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
gst::warning!(CAT, obj: element, "Consumer did not provide valid payload for media sesion: {session_id} media_ix: {media_idx}");
|
gst::warning!(CAT, obj: element, "Consumer did not provide valid payload for media session: {session_id} media_ix: {media_idx}");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue