avwait: Correctly stop recording and signal recording stop on EOS
authorSebastian Dröge <sebastian@centricular.com>
Thu, 20 Jun 2019 14:50:43 +0000 (17:50 +0300)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 24 Jun 2019 07:56:04 +0000 (07:56 +0000)
commit074df2f4bca99cf11e6155bc8accfeb453d3287a
tree6fb1a671a5f9cde82b71d3c679ea871b35bb5c93
parentec9ea06591c5482023acc1095dbcac57424f8240
avwait: Correctly stop recording and signal recording stop on EOS

If recording is set to FALSE after the last audio or video buffer and
before the EOS event then recording stop is never signalled.

Similarly, we should signal recording stop once both audio and video are
EOS, regardless of the recording property, as there's nothing to be
recorded anymore.
gst/timecode/gstavwait.c