diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2021-09-01 17:35:45 -0400 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-09-03 15:56:31 +0000 |
commit | cd3aa029d6b85405b2318be109bacaabe6522d1a (patch) | |
tree | 67e90d7f6e7ca4804e42eddc1dc1daec6a4495f4 /ext/mpeg2enc/gstmpeg2encpicturereader.cc | |
parent | f7cbbb5d9a1ff67f94477d8a7f7d4357416ea2e3 (diff) | |
download | gstreamer-plugins-bad-cd3aa029d6b85405b2318be109bacaabe6522d1a.tar.gz |
wpe: Fix race condition on teardown
There was a race when going to PAUSED while pushing a buffer to the
pipeline process (where we weren't even cancelling anything).
This rework base all the cancellation around the GCancellable
"cancelled" signal trying to ensure that the streaming thread will not
block once a cancel operation happens.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2504>
Diffstat (limited to 'ext/mpeg2enc/gstmpeg2encpicturereader.cc')
0 files changed, 0 insertions, 0 deletions