mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
splitmuxsink: Allow time and bytes to reach their respective thresholds
https://bugzilla.gnome.org/show_bug.cgi?id=769664
This commit is contained in:
parent
0b0a042781
commit
369d37d227
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue