[gstreamer-bugs] [Bug 576505] not all gst_adapter_* methods are wrapped

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Mar 26 08:48:32 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=576505

  GStreamer | gst-python | Ver: git

Jan Schmidt changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thaytan at mad.scientist.com
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #6 from Jan Schmidt  2009-03-26 15:49 UTC -------
As discussed on IRC - I think we should keep this open and add overrides for
the GstAdapter methods.

Assuming that the data from a take_buffer call even contains a null terminator
is dangerous - you're just as likely to overrun the data as to stop too soon.

Really, this needs overrides that construct a python character array of the
appropriate size, using PyString_FromStringAndSize.


-- 
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=576505.




More information about the Gstreamer-bugs mailing list