[Bug 766898] player: Add a message queue API in addition to the signals
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Aug 28 06:01:16 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=766898
--- Comment #22 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
There's not actually a problem here if refcounting is done properly. Even if
you only get a borrowed reference from the GstPlayer API for the bus: you're
only supposed to keep that reference as long as you have a reference to the
GstPlayer, or otherwise you need to get a strong reference yourself (call ref()
and later when you don't need it anymore call unref()).
The situations you describe here are simply a result of not doing reference
counting correctly.
That said, it would be better to return a strong reference from the GstPlayer
API for consistency reasons.
--
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