]> git.sesse.net Git - vlc/commitdiff
* udp: activate udp-auto-mtu by default. It increases the internal MTU
authorLaurent Aimar <fenrir@videolan.org>
Fri, 4 Jun 2004 21:59:48 +0000 (21:59 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 4 Jun 2004 21:59:48 +0000 (21:59 +0000)
by 10% each time we read a packet greater or equal to the MTU.
 It should be harmless.

modules/access/udp.c

index e076299d102b28e79ca42b596b4c9a93bbc8b15d..afb0555754c47abd933231e27873061c68c640ae 100644 (file)
@@ -55,7 +55,7 @@ vlc_module_begin();
 
     add_integer( "udp-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT,
                  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 );
 
     set_capability( "access2", 0 );