GstToc can not be modified using pygobject
@t-8ch
Submitted by Thomas Weißschuh Link to original bug (#796889)
Description
Created attachment 373196
reproduction case
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":
test.py
Version: 1.14.x