[Bug 674085] New: [0.11] GstAdapter's buffer keeps growing indefinitely
bugzilla at gnome.org
Fri Apr 13 18:35:23 PDT 2012
GStreamer | gstreamer (core) | 0.11.x
Summary: [0.11] GstAdapter's buffer keeps growing indefinitely
OS/Version: Mac OS
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: matej.knopp at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=212029)
Patch to remove skipped part of adapter's buffer during mapping
Take the following scenario
for (int i = 0; i < 1000; ++i)
Here the adapter's head buffer will be 1000 * 10 bytes large, i.e. it will grow
10 bytes during every iteration.
In my test after few seconds of video playback the buffer of video parser
adapter grew to several megabytes and the reallocations took more CPU cycles
than actual video decoding.
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