diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c index 53c8e48347..486938c935 100644 --- a/gst/udp/gstudpsrc.c +++ b/gst/udp/gstudpsrc.c @@ -1310,6 +1310,10 @@ gst_udpsrc_get_rcvbuf (GstUDPSrc * src) GST_DEBUG_OBJECT (src, "could not get udp buffer size"); return 0; } +#ifdef __linux__ + /* Devise by 2 so that the numbers matches when we do get/set */ + val /= 2; +#endif return val; }