[Bug 796889] New: GstToc can not be modified using pygobject

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Jul 28 19:03:28 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796889

            Bug ID: 796889
           Summary: GstToc can not be modified using pygobject
    Classification: Platform
           Product: GStreamer
           Version: 1.14.x
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: gst-python
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: thomas at t-8ch.de
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 373196
  --> https://bugzilla.gnome.org/attachment.cgi?id=373196&action=edit
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list