From 369d37d227178bc4bb3c760d72e5403a3f11f261 Mon Sep 17 00:00:00 2001 From: Vivia Nikolaidou Date: Tue, 9 Aug 2016 20:16:16 +0300 Subject: [PATCH] splitmuxsink: Allow time and bytes to reach their respective thresholds https://bugzilla.gnome.org/show_bug.cgi?id=769664 --- gst/multifile/gstsplitmuxsink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/multifile/gstsplitmuxsink.c b/gst/multifile/gstsplitmuxsink.c index ee5f9a7885..98f744ff6e 100644 --- a/gst/multifile/gstsplitmuxsink.c +++ b/gst/multifile/gstsplitmuxsink.c @@ -902,9 +902,9 @@ handle_gathered_gop (GstSplitMuxSink * splitmux) * either threshold? */ if ((splitmux->have_muxed_something && ((splitmux->threshold_bytes > 0 && - queued_bytes >= splitmux->threshold_bytes) || + queued_bytes > splitmux->threshold_bytes) || (splitmux->threshold_time > 0 && - queued_time >= splitmux->threshold_time)))) { + queued_time > splitmux->threshold_time)))) { splitmux->state = SPLITMUX_STATE_ENDING_FILE;