mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
decodebin2: Don't reduce max-size-time of exposed groups. Fixes #579912
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).
This commit is contained in:
parent
f0948ff632
commit
71a372c847
1 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue