[Bug 769394] appsink callback race condition

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 2 13:14:54 UTC 2016


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

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
How do you ensure that setting the callbacks during PLAYING/PAUSED is actually
not racy? Switching from one callback to another would be rather uncontrolled,
you don't know when exactly the new callbacks are going to be called for the
first time in relation to the data flow.

That's why I suggested to disallow setting the callbacks in PAUSED/PLAYING. It
could just do a g_warning() in that case.


What's your use case for setting it in PAUSED/PLAYING?

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