From 0858dfedb4bcc77c412c88e679b5dd1941fb7dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= Date: Tue, 9 Aug 2022 17:42:53 +0200 Subject: [PATCH] ts-udpsrc: align default port with C counterpart ... and also with the default settings for ts-udpsink. --- generic/threadshare/src/udpsrc/imp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/threadshare/src/udpsrc/imp.rs b/generic/threadshare/src/udpsrc/imp.rs index df887616..fb3265b8 100644 --- a/generic/threadshare/src/udpsrc/imp.rs +++ b/generic/threadshare/src/udpsrc/imp.rs @@ -40,7 +40,7 @@ use crate::runtime::{Async, Context, PadSrc, PadSrcRef, Task}; use crate::socket::{wrap_socket, GioSocketWrapper, Socket, SocketError, SocketRead}; const DEFAULT_ADDRESS: Option<&str> = Some("0.0.0.0"); -const DEFAULT_PORT: i32 = 5000; +const DEFAULT_PORT: i32 = 5004; const DEFAULT_REUSE: bool = true; const DEFAULT_CAPS: Option = None; const DEFAULT_MTU: u32 = 1492;