Fix a couple of typos

This commit is contained in:
Sebastian Dröge 2023-07-06 13:50:17 +03:00
parent 983f990fe9
commit 58adebb325
2 changed files with 3 additions and 3 deletions

View file

@ -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),

View file

@ -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;
} }
} }