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;