[Bug 760532] bin, pipeline, sink: state change / async-done propagation issue with repeated rtspsrc seeks

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Feb 29 17:12:45 UTC 2016


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

--- Comment #13 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 322678
  --> https://bugzilla.gnome.org/attachment.cgi?id=322678&action=edit
element: Add gst_element_call_async()

This calls a function from another thread, asynchronously. This is to be
used for cases when a state change has to be performed from a streaming
thread, directly via gst_element_set_state() or indirectly e.g. via SEEK
events.

Calling those functions directly from the streaming thread will cause
deadlocks in many situations, as they might involve waiting for the
streaming thread to shut down from this very streaming thread.

This is mostly a convenience function around a GThreadPool and is for example
used by GstBin to continue asynchronous state changes.

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