[Bug 789055] Gst.Bin __init__ changed behavior between 1.10 and 1.12 GStreamer version
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Oct 16 14:40:41 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=789055
--- Comment #2 from Andreu N <andreu.n1 at gmail.com> ---
I've already reviewed changes between 1.10.x and 1.12.x. And you are right,
there are no (obvious) changes about that. And yet it happens. In fact, I can't
explain why it worked with 1.10.x. Behaviour in 1.12.x looks like regular one
looking at code.
I'm using a dirty workaround in 1.12.x:
class MyBin(Gst.Bin):
foo = GObject.Property(type=str,
flags=GObject.ParamFlags.CONSTRUCT_ONLY |
GObject.ParamFlags.READWRITE)
def __init__(self, *args, **kwargs):
Gst.Element.__init__(self, **kwargs)
Gst.Bin.__init__(self)
# your stuff
Perhaps I'm reserving more memory than I should, and I'm not sure if it will be
freed.
--
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