[Bug 772841] udpsrc: high CPU usage at high packet rate
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Mar 6 01:34:12 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=772841
--- Comment #37 from Mathieu Duponchelle <mduponchelle1 at gmail.com> ---
I updated the buffer pool patch to make it upstreamable, with the following
changes:
* At least on its own, the proposed patch incorrectly blocked on
receive_message calls, as the udpsrc socket is blocking. We can not make it
blocking, at least not by default, as it might be used by other code such as
udpsink when sending; it would be possible to follow two different code paths
depending on the socket's refcount, but that's complicated and IMO unrelated to
the bufferpool work.
* I changed the property name to MTU
* I removed the conditions for calling config_set_params, caps are not required
to be non-NULL there, and this made the udpsrc tests fail
* I added support for larger than MTU messages, by falling back to a larger
memory, very similar to what we had before, except we no longer cache the
allocator / allocation params
@Petr, I kept you as the author, and added myself as a contributor in the
commit message, I hope that's fine by you :)
--
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