[Bug 709826] mpegtsmux: performance issue

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 7 11:26:33 UTC 2016


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

Edward Hervey <bilboed at bilboed.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #257098|none                        |needs-work
             status|                            |

--- Comment #24 from Edward Hervey <bilboed at bilboed.com> ---
Review of attachment 257098:
 --> (https://bugzilla.gnome.org/review?bug=709826&attachment=257098)

::: gst/mpegtsmux/tsmux/tsmux.c
@@ +647,3 @@
+  if (pos < min_length) {
+    memset (buf + pos, 0xff, min_length - pos);
+    pos += min_length - pos;

hmm... so...
pos = pos + min_length - pos;

...

how about just pos = min_length :D

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