Commit 369d37d2 authored by Vivia Nikolaidou's avatar Vivia Nikolaidou 🦆 Committed by Jan Schmidt

splitmuxsink: Allow time and bytes to reach their respective thresholds

https://bugzilla.gnome.org/show_bug.cgi?id=769664
parent 0b0a0427
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment