Commit 411b6f51 authored by George Kiagiadakis's avatar George Kiagiadakis

udpsrc: don't restrict the buffer pool size

parent 57120961
......@@ -833,10 +833,9 @@ gst_udpsrc_decide_allocation (GstBaseSrc * src, GstQuery * query)
gst_allocation_params_init (&params);
}
/* we need to allocate right away at least max-read-packets
* and let's limit memory allocation to 3 times that size */
/* we need to allocate right away at least max-read-packets */
min = 1.2 * udpsrc->max_read_packets;
max = 3 * udpsrc->max_read_packets;
max = 0;
/* allocate MTU-sized buffers */
size = udpsrc->mtu;
......
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