]> git.sesse.net Git - vlc/commitdiff
Good point Md - use 0 (ie. not set) as default TTL rather than 1 (refs #404)
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 11 Feb 2006 10:47:42 +0000 (10:47 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 11 Feb 2006 10:47:42 +0000 (10:47 +0000)
src/libvlc.h

index 42e6048f5076b0ac630897b404cf5be1d5a141f5..aa9208283e5e90a9f73ce0222c98d85dabec5f54 100644 (file)
@@ -376,7 +376,7 @@ static char *ppsz_clock_descriptions[] =
 #define TTL_TEXT N_("Hop limit (TTL)")
 #define TTL_LONGTEXT N_( \
     "Specify the hop limit (TTL) of the multicast packets sent by " \
-    "the stream output.")
+    "the stream output (0 = use operating system built-in default).")
 
 #define MIFACE_TEXT N_("IPv6 multicast output interface")
 #define MIFACE_LONGTEXT N_( \
@@ -1332,7 +1332,7 @@ vlc_module_begin();
     set_subcategory( SUBCAT_SOUT_ACO );
     add_module( "access_output", "sout access", NULL, NULL,
                 ACCESS_OUTPUT_TEXT, ACCESS_OUTPUT_LONGTEXT, VLC_TRUE );
-    add_integer( "ttl", 1, NULL, TTL_TEXT, TTL_LONGTEXT, VLC_TRUE );
+    add_integer( "ttl", 0, NULL, TTL_TEXT, TTL_LONGTEXT, VLC_TRUE );
     add_string( "miface", NULL, NULL, MIFACE_TEXT, MIFACE_LONGTEXT, VLC_TRUE );
     add_string( "miface-addr", NULL, NULL, MIFACE_ADDR_TEXT, MIFACE_ADDR_LONGTEXT, VLC_TRUE );