projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23d6101
)
splitmuxsink: Don't accumulate more than 2 GOPs
author
Jan Schmidt
<jan@centricular.com>
Wed, 29 Apr 2015 16:52:58 +0000
(
02:52
+1000)
committer
Jan Schmidt
<jan@centricular.com>
Mon, 8 Jun 2015 08:58:43 +0000
(18:58 +1000)
Don't allow large amounts of data to queue up - we only need
the GOP we're writing, and the GOP we're accumulating.
gst/multifile/gstsplitmuxsink.c
patch
|
blob
|
history
diff --git
a/gst/multifile/gstsplitmuxsink.c
b/gst/multifile/gstsplitmuxsink.c
index 96f4d1d7053782f1dbd8fdfa5462105c4cba9a2c..6da34e3ab1c170ea53f22a6fcdd5592e48f3519b 100644
(file)
--- a/
gst/multifile/gstsplitmuxsink.c
+++ b/
gst/multifile/gstsplitmuxsink.c
@@
-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;
}