splitmuxsink: Use GST_CLOCK_STIME_NONE instead of 0 to initialize max out running...
authorSebastian Dröge <sebastian@centricular.com>
Thu, 16 Sep 2021 10:11:20 +0000 (13:11 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 5 Oct 2021 12:35:19 +0000 (12:35 +0000)
commited6823ad67626e44fdfe8927dca3bee1b5e78130
treeb6433e318204ec510b26fa20c8f74823206e5a56
parenteed843eea093cacd5deec8ebe90dafcb46b01660
splitmuxsink: Use GST_CLOCK_STIME_NONE instead of 0 to initialize max out running time

Otherwise streams with only DTS would misbehave while it is negative.

For outputting everything immediately at EOS, use G_MAXINT64 instead
which is bigger-or-equal to any other running time.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1005>
subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsink.c