GstToc can not be modified using pygobject
Submitted by Thomas Weißschuh
Created attachment 373196
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.
Attachment 373196, "reproduction case":