mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
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.
This commit is contained in:
parent
2dbd8702dd
commit
f444f0edce
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue