[vlc-devel] commit: JACK output: use var_Inherit ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Dec 30 19:39:45 CET 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 30 20:31:48 2009 +0200| [90020f66417229b2f55d6a05671269ea04a79bf5] | committer: Rémi Denis-Courmont
JACK output: use var_Inherit
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=90020f66417229b2f55d6a05671269ea04a79bf5
---
modules/audio_output/jack.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/audio_output/jack.c b/modules/audio_output/jack.c
index 63c7504..8e57baf 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 );
More information about the vlc-devel
mailing list