[Bug 740149] rtspsrc cpu optimization

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Nov 16 07:14:14 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740149
  GStreamer | gst-plugins-good | 1.4.4

--- Comment #3 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> 2014-11-16 15:14:08 UTC ---
Review of attachment 290741:
 --> (https://bugzilla.gnome.org/review?bug=740149&attachment=290741)

::: libs/gst/base/gstbasesrc.c
@@ +2392,3 @@
+  /* FIXME: workaround to save some CPU in udpsrc
+   * sleep 1ms before reading sockets. */
+  usleep (1000);

No, clearly not an acceptable fix. Though, this may be a sign that accumulating
more data on the socket reduce CPU usage (could be double parsing or other
common bugs). This small CPU increase may also mean latency is actually better
in 1.0+. Better measure both, and see if it's worth calling this a regression.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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