X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Flibvlc-module.c;h=cdf42aaaed13cfded76dfdc90444bab78c0ec072;hb=6ee1e193fd896ab9a4729fde14f009d9ce629815;hp=efef30a8908585d738465d9752d03bad02752d46;hpb=39c625244ad194802ca2eda1e53bb1884b9836d1;p=vlc diff --git a/src/libvlc-module.c b/src/libvlc-module.c index efef30a890..cdf42aaaed 100644 --- a/src/libvlc-module.c +++ b/src/libvlc-module.c @@ -40,7 +40,7 @@ #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", + "he", "hu", "it", "ja", "ka", "ko", "ms", "nl", "oc", "pl", "pt_BR", "ro", "ru", "sk", "sl", "sv", "tr", "zh_CN", "zh_TW" }; static const char *ppsz_language_text[] = @@ -48,7 +48,7 @@ static const char *ppsz_language_text[] = 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_("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") }; #endif @@ -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 );