[gstreamer-bugs] [Bug 615572] Buffer Leak in audiorate during fill process

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Apr 12 13:44:34 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=615572
  GStreamer | gst-plugins-base | git

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #158532|none                        |rejected
             status|                            |

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-04-12 20:44:31 UTC ---
(From update of attachment 158532)
This doesn't look right at all. gst_pad_push() always takes ownership of the
buffer (reference), so unreffing depending on the flow return is definitely
wrong. Either the leak is elsewhere in audiorate, or a downstream element
doesn't unref the buffer correctly in the case you describe. What elements are
downstream of audiorate in your case?

Maybe you could add a unit test to tests/check/elements/audiorate.c that
demonstrates the problem?

Have you tried newer versions of gst-plugins-base? 0.10.20 is a bit old.

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