After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 589582 - Missing gst.Buffer.size setter in python bindings
Missing gst.Buffer.size setter in python bindings
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other Linux
: Normal normal
: 0.10.19
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-24 09:05 UTC by Olivier Aubert
Modified: 2010-04-29 14:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Implement setter for gst.Buffer.size (1.62 KB, patch)
2009-07-24 15:38 UTC, Olivier Aubert
committed Details | Review

Description Olivier Aubert 2009-07-24 09:05:13 UTC
The gst.Buffer.size property cannot be set through the python bindings, preventing the modification of an existing buffer (for instance when modifying the buffer passed through fakesrc's handoff signal).

Other option: provide an 'update' method using an existing gst.Buffer as source, and updating the current gst.Buffer, similar to the 'stamp' method but for all data.
Comment 1 Olivier Aubert 2009-07-24 15:38:29 UTC
Created attachment 139165 [details] [review]
Implement setter for gst.Buffer.size
Comment 2 Edward Hervey 2010-04-29 14:12:22 UTC
Attachment 139165 [details] pushed as f01b950 - Implement setter for gst.Buffer.size
Comment 3 Edward Hervey 2010-04-29 14:12:56 UTC
commit f01b950a4cfd8e38836fc51daf63158a71999ead
Author: Olivier Aubert <olivier.aubert@liris.cnrs.fr>
Date:   Fri Jul 24 17:36:18 2009 +0200

    Implement setter for gst.Buffer.size
    
    https://bugzilla.gnome.org/show_bug.cgi?id=589582