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 410838 - gst-python doesn't handle gst.Buffers in GValues (e.g. in caps)
gst-python doesn't handle gst.Buffers in GValues (e.g. in caps)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other Linux
: Normal normal
: 0.10.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-22 15:19 UTC by Michael Smith
Modified: 2007-02-22 16:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add handling of buffers in gvalues (1.86 KB, patch)
2007-02-22 15:20 UTC, Michael Smith
accepted-commit_now Details | Review

Description Michael Smith 2007-02-22 15:19:21 UTC
If you want to set (or, presumably, look at) GstBuffer objects in GValues, it doesn't work.

Attaching a patch to fix this.
Comment 1 Michael Smith 2007-02-22 15:20:16 UTC
Created attachment 83108 [details] [review]
Add handling of buffers in gvalues
Comment 2 Edward Hervey 2007-02-22 16:06:30 UTC
Looks fine by me.
Comment 3 Michael Smith 2007-02-22 16:14:34 UTC
Committed, thanks for reviewing.

        * gst/pygstvalue.c: (pygst_value_as_pyobject),
        (pygst_value_init_for_pyobject), (pygst_value_from_pyobject):
          Implement gst.Buffer support in GValues (e.g. for caps containing
          buffers)
Comment 4 Michael Smith 2007-02-22 16:14:59 UTC
Committed, thanks for reviewing.

        * gst/pygstvalue.c: (pygst_value_as_pyobject),
        (pygst_value_init_for_pyobject), (pygst_value_from_pyobject):
          Implement gst.Buffer support in GValues (e.g. for caps containing
          buffers)