[Bug 736896] [REGRESSION] pygobject 3.13 now copies the GstStructure when getting them from a GstCaps, making it impossible to properly modify structures from caps in place.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jun 18 05:46:27 PDT 2015


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

Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas.dufresne at collabora.
                   |                            |co.uk

--- Comment #24 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
My two cents. While this is being called a regression in the title, returning a
copy of a boxed type with (transfer none) is a safe thing to do. Before that,
it was really easy to crash the interpretor. Though, pygobject could rather put
a "ref" to the original object to actually bind the lifetime (doing this at the
Python reference level rather then touching the object references). Effectively
creating a cirular reference though, which will hopefully be fixed by the GC.

-- 
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