]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/jack.c
Fix a typo with the libtool flag -export-symbols-regex
[vlc] / modules / audio_output / jack.c
index 63c750473777ed82d1ba92ca23ab6ffef06ea261..cfe37366b1b32b971c0d5f961dd169c8526d4e83 100644 (file)
@@ -87,9 +87,9 @@ vlc_module_begin ()
     set_capability( "audio output", 100 )
     set_category( CAT_AUDIO )
     set_subcategory( SUBCAT_AUDIO_AOUT )
-    add_bool( AUTO_CONNECT_OPTION, false, NULL, AUTO_CONNECT_TEXT,
+    add_bool( AUTO_CONNECT_OPTION, false, AUTO_CONNECT_TEXT,
               AUTO_CONNECT_LONGTEXT, true )
-    add_string( CONNECT_REGEX_OPTION, NULL, NULL, CONNECT_REGEX_TEXT,
+    add_string( CONNECT_REGEX_OPTION, NULL, CONNECT_REGEX_TEXT,
                 CONNECT_REGEX_LONGTEXT, true )
     set_callbacks( Open, Close )
 vlc_module_end ()
@@ -186,10 +186,10 @@ static int Open( vlc_object_t *p_this )
     }
 
     /* Auto connect ports if we were asked to */
-    if( config_GetInt( p_aout, AUTO_CONNECT_OPTION ) )
+    if( var_InheritBool( p_aout, AUTO_CONNECT_OPTION ) )
     {
         unsigned int i_in_ports;
-        char *psz_regex = config_GetPsz( p_aout, CONNECT_REGEX_OPTION );
+        char *psz_regex = var_InheritString( p_aout, CONNECT_REGEX_OPTION );
         const char **pp_in_ports = jack_get_ports( p_sys->p_jack_client,
                                                    psz_regex, NULL,
                                                    JackPortIsInput );