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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Apr 13 09:22:15 PDT 2010


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

--- Comment #2 from Benjamin Bazso <bbazso at gmail.com> 2010-04-13 16:22:12 UTC ---
I understand that gst_pad_push() always takes ownership of the
buffer (reference), but the buffer being pushed in the case of the fill
operation is the fill buffer:

i.e. ret = gst_pad_push (audiorate->srcpad, fill); 

not the input buffer to the chain function: 

gst_audio_rate_chain (GstPad * pad, GstBuffer * buf)

and it is the input buffer that leaks in the issue I described since it never
gets freed (see the jump to beach).

If this does not make sense, or I made a mistake, then let me know and I can
always try and put together a unit test or something to demonstrate the
problem.

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