[gstreamer-bugs] [Bug 584465] basetransform does unneeded pad_allocs

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Jun 1 09:03:58 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=584465

  GStreamer | gstreamer (core) | Ver: git

Wim Taymans changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wim.taymans at gmail.com
 Attachment #135744|none                        |reviewed
               Flag|                            |




------- Comment #2 from Wim Taymans  2009-06-01 16:03 UTC -------
no ref is kept to the last allocated buffer, I guess you can have false
positives if the buffer is deleted and a buffer is allocated that happens to
have the same memory.

One of the ideas I had back in the days was to keep track of the proxy alloc
buffers by making a subclass of them, but that did not seem to be working so
well because of the subbuffer/subclassing limitations.

I guess we also don't really want to keep a ref to the alloc buffer to avoid
keeping it around longer than needed. We also can't install a custom free
function that invalidates the pointer we keep to the buffer because there is no
room for user data.

So, I don't know.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=584465.




More information about the Gstreamer-bugs mailing list