Commit 71a372c8 authored by Edward Hervey's avatar Edward Hervey 🤘

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).
parent f0948ff6
......@@ -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) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment