Commit 90020f66 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

JACK output: use var_Inherit

parent 05320812
...@@ -186,10 +186,10 @@ static int Open( vlc_object_t *p_this ) ...@@ -186,10 +186,10 @@ static int Open( vlc_object_t *p_this )
} }
/* Auto connect ports if we were asked to */ /* 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; 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, const char **pp_in_ports = jack_get_ports( p_sys->p_jack_client,
psz_regex, NULL, psz_regex, NULL,
JackPortIsInput ); JackPortIsInput );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment