]> git.sesse.net Git - vlc/blobdiff - modules/access_output/http.c
Use var_Inherit* instead of var_CreateGet*.
[vlc] / modules / access_output / http.c
index 79c57f4e61c70afe47b14575810de9682dd09ee8..6b13455e452bd691b8bcd93bffed099f425588e8 100644 (file)
@@ -95,9 +95,7 @@ vlc_module_begin ()
     set_description( N_("HTTP stream output") )
     set_capability( "sout access", 0 )
     set_shortname( "HTTP" )
-    add_shortcut( "http" )
-    add_shortcut( "https" )
-    add_shortcut( "mmsh" )
+    add_shortcut( "http", "https", "mmsh" )
     set_category( CAT_SOUT )
     set_subcategory( SUBCAT_SOUT_ACO )
     add_string( SOUT_CFG_PREFIX "user", "", NULL,
@@ -279,7 +277,7 @@ static int Open( vlc_object_t *p_this )
     }
 
 #if 0 //def HAVE_AVAHI_CLIENT
-    if( var_InheritInteger(p_this, SOUT_CFG_PREFIX "bonjour") )
+    if( var_InheritBool(p_this, SOUT_CFG_PREFIX "bonjour") )
     {
         char                *psz_txt, *psz_name;
         playlist_t          *p_playlist = pl_Get( p_access );