[Bug 797223] Race condition in ipcpipelinesrc during flush

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Oct 8 15:27:36 UTC 2018


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

--- Comment #2 from Mike Dyer <mike.dyer at youview.com> ---
(In reply to Olivier CrĂȘte from comment #1)
> Review of attachment 373802 [details] [review]:
> 
> I'm pretty sure this patch is not the right solution. I think that on
> flush-stop, it should probably do whatever is needed with locking (as this
> is a serialized event) to ensure that the ordering is right. Or maybe after
> forwarding the flush start, it should take the STREAM lock to ensure proper
> serialization after receiving the flush-start.

Perhaps take the stream lock before starting the task again in
gst_ipc_pipeline_src_start_loop()?  That would ensure the loop isn't running
before attempting to start it again.

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