splitmuxsink: Do split-at-running-time splitting based on the time of the start of...
authorSebastian Dröge <sebastian@centricular.com>
Wed, 15 Apr 2020 14:50:31 +0000 (17:50 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 15 Apr 2020 14:52:41 +0000 (17:52 +0300)
commitd75ea5b34021ab599ad825e4e9ef0550d5892fa8
tree274bfeafd94da842a0fcd8be7aa686603d12a5c6
parent0ab0f92cac42b2d895950ec9470f60a1ebb301cb
splitmuxsink: Do split-at-running-time splitting based on the time of the start of the GOP

If the start of the GOP is >= the requested running time, put it into a
new fragment. That is, split-at-running-time would always ensure that a
split happens as early as possible after the given running time.

Previously it was comparing against the current incoming timestamp,
which does not tell us what we actually want to know as it has no direct
relation to the GOP start/end.
gst/multifile/gstsplitmuxsink.c