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:
Edward Hervey 2009-04-23 08:41:19 +02:00
parent f0948ff632
commit 71a372c847

View file

@ -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) {