]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/jack.c
Use var_Inherit* instead of var_CreateGet*.
[vlc] / modules / audio_output / jack.c
index 8e57baff3c29b4826aee27b0753bd27d498309d8..538e7d950698e781b74ff0da99d22eccaaec6452 100644 (file)
@@ -186,7 +186,7 @@ static int Open( vlc_object_t *p_this )
     }
 
     /* Auto connect ports if we were asked to */
-    if( var_InheritInteger( p_aout, AUTO_CONNECT_OPTION ) )
+    if( var_InheritBool( p_aout, AUTO_CONNECT_OPTION ) )
     {
         unsigned int i_in_ports;
         char *psz_regex = var_InheritString( p_aout, CONNECT_REGEX_OPTION );