[Bug 679286] New: [0.11]
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Jul 2 16:15:12 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=679286
GStreamer | gstreamer (core) | 0.11.x
Summary: [0.11]
Classification: Platform
Product: GStreamer
Version: 0.11.x
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: t.i.m at zen.co.uk
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=217885)
View: https://bugzilla.gnome.org/attachment.cgi?id=217885
Review: https://bugzilla.gnome.org/review?bug=679286&attachment=217885
bus: don't return bus with floating ref from gst_element_get_bus()
This little python code causes warnings and assertions on exit:
-------------------------------------------------------------------------
from gi.repository import GObject, Gst
GObject.threads_init()
Gst.init(None)
pipeline=Gst.Pipeline()
bus = pipeline.get_bus()
pipeline.set_state(Gst.State.NULL)
del pipeline;
-------------------------------------------------------------------------
It looks like py-gi might be reacting badly to _get_bus() returning a GstBus
that still has the floating flag set (since it is a GstObject and hence a
GInitiallyUnowned).
The attached patch seems to make it work fine for me, but I'm not sure how
kosher it is.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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