mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
splitmuxsink: Don't accumulate more than 2 GOPs
Don't allow large amounts of data to queue up - we only need the GOP we're writing, and the GOP we're accumulating.
This commit is contained in:
parent
23d610140d
commit
d78502deb1
1 changed files with 1 additions and 1 deletions
|
@ -872,7 +872,7 @@ check_queue_length (GstSplitMuxSink * splitmux, MqStreamCtx * ctx)
|
|||
splitmux->queued_gops <= 1) {
|
||||
allow_grow = TRUE;
|
||||
} else if (splitmux->state == SPLITMUX_STATE_COLLECTING_GOP_START &&
|
||||
ctx->is_video) {
|
||||
ctx->is_video && splitmux->queued_gops <= 1) {
|
||||
allow_grow = TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue