adaptivedemux2: Always wake up loop thread on unpause
authorSeungha Yang <seungha@centricular.com>
Tue, 20 Sep 2022 15:26:38 +0000 (00:26 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 21 Sep 2022 09:26:22 +0000 (09:26 +0000)
commita9144f5313ce8a9af2735209db88bbd6bb096ee1
treed9ec2de56b465f3162701886cf305df6bf18c18d
parenta03f3df626ed965a102c2db0ea64a579471980d0
adaptivedemux2: Always wake up loop thread on unpause

Otherwise loop thread will sleep forever because
GstAdaptiveDemuxLoop.paused flag update is not signalled
when loop was marked as stopped already from other thread.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3057>
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemuxutils.c