[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 06:14:16 PDT 2015


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

--- Comment #25 from Will Manley <gnome at williammanley.net> ---
> While this is being called a regression in the title

It is a regression because there were perfectly reasonable (and correct)
programs that worked previously that no longer work.

I think everyone can agree that allowing the API to crash the interpreter is
*bad*, but that doesn't stop this from being a regression.

I like your idea of using Python's own reference counting to solve this,
assuming it works.  Given the circular references I would have some concerns
about references not being collected when you expect them to be (e.g. they will
be collected when the GC runs, not when the variables go out of scope).  This
could have user-visible impact becuase gst_mini_object_unref mutates the
GstMiniObject.

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