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.
This commit is contained in:
David Schleef 2012-03-06 21:44:36 -08:00
parent 7831feced5
commit cb0d04a2db
2 changed files with 2 additions and 2 deletions

View file

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

View file

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