[Bug 727067] udpsrc: set udp buffer size forcibly

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Aug 17 16:57:51 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=727067

--- Comment #32 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
> So, I think we should add the if (val < src->buffer_size), and warn,
> just to help users a little.

Not superimportant, but here the kernel returns 200,000 when reading the value
after 100,000 was set (apparently for extra overhead for the internal structs
etc.), so maybe on Linux this needs to be if (val / 2 < src->buffer_size) then?
Bit ugly, but might be confusing if setting values around the limit if not
taken into consideration?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list