aggregator: Wake up source pad in PAUSED<->PLAYING transitions
authorSebastian Dröge <sebastian@centricular.com>
Thu, 20 Aug 2020 08:09:11 +0000 (11:09 +0300)
committerSebastian Dröge <slomo@coaxion.net>
Wed, 9 Sep 2020 09:54:42 +0000 (09:54 +0000)
commitaa3e110a547a7ae5bf18241174363dd3c34172c4
tree8b63acac9b4ae92895393a5c36fafee68a9e79a2
parent5bab6154aa513708f2833e7eddb4f928f7d3eb01
aggregator: Wake up source pad in PAUSED<->PLAYING transitions

When going to PLAYING we will now have a clock and can stop waiting on
the condition variable and instead start waiting on the clock if
necessary for the current configuration.

In the other direction when going to PAUSED the clock might have
disappeared and we might need to wait on the condition variable again
instead.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/601>
libs/gst/base/gstaggregator.c