Commit 2d64aa5c authored by Laurent Aimar's avatar Laurent Aimar

* udp: activate udp-auto-mtu by default. It increases the internal MTU

by 10% each time we read a packet greater or equal to the MTU.
 It should be harmless.
parent e5ab6347
...@@ -55,7 +55,7 @@ vlc_module_begin(); ...@@ -55,7 +55,7 @@ vlc_module_begin();
add_integer( "udp-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, add_integer( "udp-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT,
CACHING_LONGTEXT, VLC_TRUE ); CACHING_LONGTEXT, VLC_TRUE );
add_bool( "udp-auto-mtu", 0, NULL, add_bool( "udp-auto-mtu", 1, NULL,
AUTO_MTU_TEXT, AUTO_MTU_LONGTEXT, VLC_TRUE ); AUTO_MTU_TEXT, AUTO_MTU_LONGTEXT, VLC_TRUE );
set_capability( "access2", 0 ); set_capability( "access2", 0 );
......
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