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 796889 - GstToc can not be modified using pygobject
GstToc can not be modified using pygobject
Product: GStreamer
Classification: Platform
Component: gst-python
Other Linux
: Normal minor
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2018-07-28 19:03 UTC by Thomas Weißschuh
Modified: 2018-11-03 15:37 UTC
See Also:
GNOME target: ---
GNOME version: ---

reproduction case (271 bytes, text/x-python)
2018-07-28 19:03 UTC, Thomas Weißschuh

Description Thomas Weißschuh 2018-07-28 19:03:28 UTC
Created attachment 373196 [details]
reproduction case

When using pygobject it is not possible to create and modify and GstToc.
Modifications abort with:

( GStreamer-CRITICAL **: 20:57:54.160: gst_toc_append_entry: assertion 'gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (toc))' failed

The problem lies in the fact, that the GstToc is in reality a GstMiniObject.
Unfortunately there is no way to access the relevant methods/macros from python and raw casting from toc to miniobject is also not possible.

A reproduction case is attached.
Comment 1 GStreamer system administrator 2018-11-03 15:37:35 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: