[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
Mon Apr 16 07:19:42 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=736896
Christoph Reiter (lazka) <reiter.christoph at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reiter.christoph at gmail.com
--- Comment #28 from Christoph Reiter (lazka) <reiter.christoph at gmail.com> ---
Mathieu Duponchelle has worked last cycle to make pygobject only ref objects
in callbacks after the callback returns. So, some API like this might be
possible now:
def buf_func(buf):
# no ref taken
buf.change()
# when buf_func() returns, buf gets reffed, and ideally unreffed because
# the wrapper dies shortly after
object.for_buf(buf_func)
--
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