[FFmpeg-devel] [PATCH] udp.c: adjustable send/receive buffer size

Jindrich Makovicka makovick
Mon Nov 10 14:41:45 CET 2008


Hi,

currently, libavformat UDP source uses a fixed size receive buffer of
64 kilobytes. In cases like receiving several higher bitrate streams
simultaneously, it is useful to have a larger buffer available to
prevent packet loss. The attached patch adds a new "buffer_size"
parameter which allows specifying the sending or receiving buffer size
in bytes.

Regards,
-- 
Jindrich Makovicka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: udpbufsize.diff
Type: text/x-diff
Size: 1754 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081110/b66ba562/attachment.diff>



More information about the ffmpeg-devel mailing list