From f444f0edce37af2126547b85c8b5b8cd213c43ac Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 5 Jun 2009 16:49:58 +0200 Subject: [PATCH] decodebin2: increase stream probing queues When we are probing for streams, we want to set the queue size in such a way that we can scan a maximum amount of data without consuming too much memory. Therefore, remove the time limit on the queue and only stop scanning after 2MB of data. See #584104. --- gst/playback/gstdecodebin2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/playback/gstdecodebin2.c b/gst/playback/gstdecodebin2.c index f03d29c..cbe1e31 100644 --- a/gst/playback/gstdecodebin2.c +++ b/gst/playback/gstdecodebin2.c @@ -1820,7 +1820,7 @@ gst_decode_group_new (GstDecodeBin * dbin, gboolean use_queue) * be exposed. */ g_object_set (G_OBJECT (mq), "max-size-bytes", 2 * 1024 * 1024, - "max-size-time", 5 * GST_SECOND, "max-size-buffers", 0, NULL); + "max-size-time", 0, "max-size-buffers", 0, NULL); /* will expose the group */ group->overrunsig = g_signal_connect (G_OBJECT (mq), "overrun", G_CALLBACK (multi_queue_overrun_cb), group); -- 2.7.4