X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Flibvlc-module.c;h=c1611f1bc982a68654eb57f88682c178a5b7904f;hb=27348412c7a6a11136921b9daa5243ae0746fd28;hp=efef30a8908585d738465d9752d03bad02752d46;hpb=39c625244ad194802ca2eda1e53bb1884b9836d1;p=vlc diff --git a/src/libvlc-module.c b/src/libvlc-module.c index efef30a890..c1611f1bc9 100644 --- a/src/libvlc-module.c +++ b/src/libvlc-module.c @@ -39,18 +39,18 @@ #if defined (WIN32) || defined (__APPLE__) static const char *ppsz_language[] = -{ "auto", "ar", "en", "en_GB", "ca", "cs", "da", "de", "es", "fa" "fr", "gl", - "he", "hu", "it", "ja", "ka", "ko", "ms", "nl", "oc", "pl", "pt_BR", "ro", - "ru", "sk", "sl", "sv", "tr", "zh_CN", "zh_TW" }; +{ "auto", "en", "ar", "pt_BR", "en_GB", "ca", "zh_TW", "cs", "da", "nl", "fr", + "gl", "ka", "de", "he", "hu", "it", "ja", "ko", "ms", "oc", "fa", "pl", "ro", + "ru", "zh_CN", "sk", "sl", "es", "sv", "tr" }; static const char *ppsz_language_text[] = -{ N_("Auto"), N_("Arabic"), N_("American English"), N_("British English"), -N_("Catalan"), N_("Czech"), N_("Danish"), N_("German"), N_("Spanish"), -N_("Persian"), N_("French"), N_("Galician"), N_("Hebrew"), N_("Hungarian"), -N_("Italian"), N_("Japanese"),N_("Georgian"), N_("Korean"), N_("Malay"), -N_("Dutch"), N_("Occitan"), N_("Polish"), N_("Brazilian Portuguese"), -N_("Romanian"), N_("Russian"), N_("Slovak"), N_("Slovenian"), N_("Swedish"), -N_("Turkish"), N_("Simplified Chinese"), N_("Chinese Traditional") }; +{ N_("Auto"), N_("American English"), N_("Arabic"), N_("Brazilian Portuguese"), + N_("British English"), N_("Catalan"), N_("Chinese Traditional"), N_("Czech"), + N_("Danish"), N_("Dutch"), N_("French"), N_("Galician"), N_("Georgian"), + N_("German"), N_("Hebrew"), N_("Hungarian"), N_("Italian"), N_("Japanese"), + N_("Korean"), N_("Malay"), N_("Occitan"), N_("Persian"), N_("Polish"), + N_("Romanian"), N_("Russian"), N_("Simplified Chinese"), N_("Slovak"), + N_("Slovenian"), N_("Spanish"), N_("Swedish"), N_("Turkish") }; #endif static const char *ppsz_snap_formats[] = @@ -475,8 +475,10 @@ static const char *ppsz_clock_descriptions[] = #define MTU_TEXT N_("MTU of the network interface") #define MTU_LONGTEXT N_( \ - "This is the maximum packet size that can be transmitted " \ - "over the network interface. On Ethernet it is usually 1500 bytes.") + "This is the maximum application-layer packet size that can be " \ + "transmitted over the network (in bytes).") +/* Should be less than 1500 - 8[ppp] - 40[ip6] - 8[udp] in any case. */ +#define MTU_DEFAULT 1400 #define TTL_TEXT N_("Hop limit (TTL)") #define TTL_LONGTEXT N_( \ @@ -1535,7 +1537,7 @@ vlc_module_begin(); add_integer( "server-port", 1234, NULL, SERVER_PORT_TEXT, SERVER_PORT_LONGTEXT, VLC_FALSE ); - add_integer( "mtu", 1500, NULL, MTU_TEXT, MTU_LONGTEXT, VLC_TRUE ); + add_integer( "mtu", MTU_DEFAULT, NULL, MTU_TEXT, MTU_LONGTEXT, VLC_TRUE ); add_bool( "ipv6", 0, NULL, IPV6_TEXT, IPV6_LONGTEXT, VLC_FALSE ); change_short('6'); add_bool( "ipv4", 0, NULL, IPV4_TEXT, IPV4_LONGTEXT, VLC_FALSE );