Skip to content
  • Petr Kulhavy's avatar
    udpsrc: switch to using a buffer pool · 738eb0d8
    Petr Kulhavy authored and Nicolas Dufresne's avatar Nicolas Dufresne committed
    This exposes a new property, mtu, which is used to determine the
    initial size of buffers from the buffer pool. If received data
    exceeds this, the element gracefully handles that in a manner similar
    to what we had previously: a large memory gets filled and reallocated
    at the next call to "fill".
    
    The default size is set to 1500, which should cover most use cases.
    
    With contributions from Mathieu Duponchelle <mathieu@centricular.com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772841
    738eb0d8