GNOME Bugzilla – Bug 796889
GstToc can not be modified using pygobject
Last modified: 2018-11-03 15:37:35 UTC
Created attachment 373196 [details]
When using pygobject it is not possible to create and modify and GstToc.
Modifications abort with:
(test.py:25237): 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.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org'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: https://gitlab.freedesktop.org/gstreamer/gst-python/issues/14.