[Bug 726337] New: omxbufferpool: leak buffers when stopped
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Mar 14 05:14:00 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=726337
GStreamer | gst-omx | git
Summary: omxbufferpool: leak buffers when stopped
Classification: Platform
Product: GStreamer
Version: git
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-omx
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: julien.isorce at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=271881)
View: https://bugzilla.gnome.org/attachment.cgi?id=271881
Review: https://bugzilla.gnome.org/review?bug=726337&attachment=271881
omxbufferpool: fix memory leak if used on output port
When using GstOMXBufferPool on an output port, it internally uses
a GPtrArray to manage the GstBuffers instead of the default queue
from the GstBufferPool base class.
In this case GstBufferPool::default_free_buffer is not called when
the pool is stopped.
So we have to explicitly call gst_omx_buffer_pool_free_buffer on each buffer
contained in the GPtrArray.
--
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