[gstreamer-bugs] [Bug 577847] gst.Buffer undocumented slices usage
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Sat Apr 4 13:40: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=577847
GStreamer | gst-python | Ver: 0.10.14
Luca Bruno changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|NOTABUG |
------- Comment #4 from Luca Bruno 2009-04-04 20:41 UTC -------
I'm sorry for the wrong constructor.
>>> buf = gst.Buffer ()
>>> buf.data = "test"
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: attribute 'data' of 'gst.Buffer' objects is not writable
This is what I'm using now:
>>> buf = gst.buffer_new_and_alloc (4)
>>> buf[:4] = "test"
>>> print buf
test
>>>
So please document:
1. gst.Buffer (str) constructor, which is not in the C core reference so I
couldn't realize that and the only constructor in the pygst reference has
clearly no arguments
2. assignable/deletable slices
--
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=577847.
More information about the Gstreamer-bugs
mailing list