From cb0d04a2db635d3e61bc7fda3a866ed4c4d3f5e0 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 6 Mar 2012 21:44:36 -0800 Subject: [PATCH] udp: Change the default port to 5004 udpsrc/udpsink are almost always used with RTP, so let's use an RTP port as the default port. It's unclear why 4951 was used, it goes back to early commits in CVS. --- gst/udp/gstudpsink.c | 2 +- gst/udp/gstudpsrc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/udp/gstudpsink.c b/gst/udp/gstudpsink.c index 915c82b..ea791e2 100644 --- a/gst/udp/gstudpsink.c +++ b/gst/udp/gstudpsink.c @@ -38,7 +38,7 @@ #include "gstudpsink.h" #define UDP_DEFAULT_HOST "localhost" -#define UDP_DEFAULT_PORT 4951 +#define UDP_DEFAULT_PORT 5004 /* UDPSink signals and args */ enum diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c index 81a96e8..4005c3a 100644 --- a/gst/udp/gstudpsrc.c +++ b/gst/udp/gstudpsrc.c @@ -120,7 +120,7 @@ static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_ALWAYS, GST_STATIC_CAPS_ANY); -#define UDP_DEFAULT_PORT 4951 +#define UDP_DEFAULT_PORT 5004 #define UDP_DEFAULT_MULTICAST_GROUP "0.0.0.0" #define UDP_DEFAULT_MULTICAST_IFACE NULL #define UDP_DEFAULT_URI "udp://"UDP_DEFAULT_MULTICAST_GROUP":"G_STRINGIFY(UDP_DEFAULT_PORT) -- 2.7.4