[Bug 770953] gstclock: segmentation fault when unschedule

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 7 08:12:25 UTC 2016


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

--- Comment #5 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Keeping the clock around is AFAIU how that API is intended to be used (API with
a gun to shoot yourself into the feet included *sigh*).

The problem with not keeping the clock around is that you can never be sure if
your callback is actually ever going to be called, which is also problematic.
OTOH you're not guaranteed that either otherwise (e.g. when an audio clock is
used and we're down in PAUSED).

I think the patch makes sense (slightly worried about the overhead of the weak
ref) but there also seems to be a bigger problem here

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