[Bug 765728] adaptivedemux: Segfault since "use realtime_clock for waiting for a condition" commit

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 5 12:51:55 UTC 2016


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

--- Comment #29 from A Ashley <bugzilla at ashley-family.net> ---
> 
> Great. Do you think you could make it a mini object instead of a GObject? Or

My first thought was to use a mini object, but according to the documentation,
you can only make it writable when the reference count is one. We need to have
the callback modify the fired boolean. At that point the reference count is
normally two.

> simply a custom ref/unref with g_atomic_int_*() wrapping the freeing?

True, a custom ref/unref could be used. Is that faster than using GObject's
implementation of the same thing?

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