splitmuxsink: Only set running time on finalizing sink element when in async-finalize...
authorSebastian Dröge <sebastian@centricular.com>
Wed, 22 May 2019 15:06:04 +0000 (18:06 +0300)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 7 Aug 2019 19:40:08 +0000 (20:40 +0100)
commit0f5dc763630491cf72ae2689628e4b2a8aeb418e
tree1fb991cf5bfc7c8fe85f84ad0b396f3cc294d139
parent0d77e9721deea47256cf800db58bf119f3c53786
splitmuxsink: Only set running time on finalizing sink element when in async-finalize mode

There is only a single sink element in async-finalize mode, and we would
keep the running time from previous fragments set in that case. As we
don't ever set the running time for the very last fragment on EOS, this
would mean that the closing time reported for the very last fragment is
the same as the closing time of the previous fragment.
gst/multifile/gstsplitmuxsink.c