[Webkit-unassigned] [Bug 101349] GStreamer reference handling fix
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 16 02:38:33 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=101349
Sebastian Dröge <slomo at circular-chaos.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |slomo at circular-chaos.org
--- Comment #10 from Sebastian Dröge <slomo at circular-chaos.org> 2012-11-16 02:40:24 PST ---
The unref is needed, yes. In 0.10 get() returned a non-floating ref, in 1.0 a floating ref.
You could simply use gst_pad_new_from_static_template() for 0.10 (was added in a later version IIRC) and 1.0. Alternatively you could just gst_object_ref_sink() before passing it to the smart pointer.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list