[Bug 637746] gst-python memory leak with python element

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Oct 29 07:59:52 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=637746
  GStreamer | gst-python | 0.10.20

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEEDINFO
                 CC|                            |t.i.m at zen.co.uk

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2011-10-29 14:59:45 UTC ---
>     def _sink_chain(self, _pad, buffer):
>         return self.srcpad.push(buffer.copy())

Try:

 return self.srcpad.push(buffer)

In C the semantics are so that you pass ownership of the buffer ref to
gst_pad_push().

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