[Bug 698851] playbin: ability to mix or play multiple audio and text streams simultaneously

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed May 29 09:52:01 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=698851
  GStreamer | gst-plugins-base | git

--- Comment #41 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2013-05-29 16:51:53 UTC ---
(In reply to comment #40)
> I'm actually confused about where the elements are being ref'd in `gst_bin_add`
> (I looked at the source and don't see it), but I can confirm that it's
> happening with logging:

gst_bin_add() is actually doing a ref_sink. Which mean these a plausible:

ref_sink(obj ref 1) = obj ref 1
ref_sink(obj ref 1) = obj ref 2
ref_sink(obj ref n) = obj ref n + 1 if n > 1

If you want to keep a reference on an object, other then the one owned by the
bin, it's better to use ref_sink too.

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