From 90020f66417229b2f55d6a05671269ea04a79bf5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Wed, 30 Dec 2009 20:31:48 +0200 Subject: [PATCH] JACK output: use var_Inherit --- modules/audio_output/jack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/audio_output/jack.c b/modules/audio_output/jack.c index 63c7504737..8e57baff3c 100644 --- a/modules/audio_output/jack.c +++ b/modules/audio_output/jack.c @@ -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_InheritInteger( 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 ); -- 2.39.2