[Bug 770953] gstclock: segmentation fault when unschedule

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 7 16:31:32 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=770953

--- Comment #14 from GstBlub <gstblub at gmail.com> ---
(In reply to Sebastian Dröge (slomo) from comment #13)
> (In reply to GstBlub from comment #11)
> > The problem with keeping it is that it would have to be change to obtain a
> > strong reference, which means that the user of this API would have to unref
> > it.  I would rather remove this broken API, no one should really be using it
> > anyway.
> 
> Deprecate this one (and in #ifndef GST_DISABLE_DEPRECATED guards), and add a
> function that gives a strong ref :)

What should the deprecated macro do?  Leak a reference each time it is called,
or return an unsafe pointer to the GstClock (essentially temporarily obtain a
strong reference, unreffing it again, and returning the raw pointer)?

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