Commit 224be7ea authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Netsync: use var_Inherit

parent c5ffd0a3
...@@ -100,9 +100,9 @@ static int Activate( vlc_object_t *p_this ) ...@@ -100,9 +100,9 @@ static int Activate( vlc_object_t *p_this )
intf_thread_t *p_intf = (intf_thread_t*)p_this; intf_thread_t *p_intf = (intf_thread_t*)p_this;
int fd; int fd;
if( config_GetInt( p_intf, "netsync-master" ) <= 0 ) if( !var_InheritInteger( p_intf, "netsync-master" ) )
{ {
char *psz_master = config_GetPsz( p_intf, "netsync-master-ip" ); char *psz_master = var_InheritString( p_intf, "netsync-master-ip" );
if( psz_master == NULL ) if( psz_master == NULL )
{ {
msg_Err( p_intf, "master address not specified" ); msg_Err( p_intf, "master address not specified" );
......
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