udpsrc: rework memory allocation bits and ensure we always have two chunks of memorie...
authorTim-Philipp Müller <tim@centricular.com>
Tue, 9 Sep 2014 11:15:43 +0000 (12:15 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 9 Sep 2014 16:35:38 +0000 (17:35 +0100)
commit39505584e14be177db8cc7b6c3ac39df21d72774
tree5e2d5ecd69485ef2a682cb83e22f00f938b07c56
parent305e4c2f467fb2bc024828cf0d9e0a50e244d774
udpsrc: rework memory allocation bits and ensure we always have two chunks of memories to read into

First chunk is the likely/expected buffer size, second is as
fallback in case the packet is larger in the end.

Next step: actually use these.
gst/udp/gstudpsrc.c
gst/udp/gstudpsrc.h