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:
f0948ff
)
decodebin2: Don't reduce max-size-time of exposed groups. Fixes #579912
author
Edward Hervey
<bilboed@bilboed.com>
Thu, 23 Apr 2009 06:41:19 +0000
(08:41 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Thu, 23 Apr 2009 09:54:55 +0000
(11:54 +0200)
The 2s limit is way too small for a lot of files (which have an interleave
in time of between 3 and 5s). Instead, leave it to the initial 5s value
and reduce the other limits (allowing us to stay memory-efficient).
gst/playback/gstdecodebin2.c
patch
|
blob
|
history
diff --git
a/gst/playback/gstdecodebin2.c
b/gst/playback/gstdecodebin2.c
index
0e77dc2
..
2212689
100644
(file)
--- a/
gst/playback/gstdecodebin2.c
+++ b/
gst/playback/gstdecodebin2.c
@@
-2127,8
+2127,7
@@
gst_decode_group_expose (GstDecodeGroup * group)
/* update runtime limits. At runtime, we try to keep the amount of buffers
* in the queues as low as possible (but at least 5 buffers). */
g_object_set (G_OBJECT (group->multiqueue),
- "max-size-bytes", 2 * 1024 * 1024,
- "max-size-time", 2 * GST_SECOND, "max-size-buffers", 5, NULL);
+ "max-size-bytes", 2 * 1024 * 1024, "max-size-buffers", 5, NULL);
/* we can now disconnect any overrun signal, which is used to expose the
* group. */
if (group->overrunsig) {