[Bug 796207] always signal drain cond when stopping streaming loop

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 17 14:12:48 UTC 2018


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

--- Comment #2 from Guillaume Desmottes <gdesmott at gnome.org> ---
Created attachment 372153
  --> https://bugzilla.gnome.org/attachment.cgi?id=372153&action=edit
omxvideodec: always signal drain cond when stopping streaming loop

If for some reason something goes wrong and we stop the streaming loop
we may end up with other threads still waiting on the drain cond.
No more buffers will be produced by the component so they were waiting
forever.

Fix this by always signalling this cond when stopping the streaming
loop.

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