[vlc-devel] commit: WaveOut: kill config_Get ( 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:32:59 2009 +0200| [004e76c897e9acccc73ba46c227bd447268cca62] | committer: Rémi Denis-Courmont
WaveOut: kill config_Get
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=004e76c897e9acccc73ba46c227bd447268cca62
---
modules/audio_output/waveout.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/audio_output/waveout.c b/modules/audio_output/waveout.c
index 28eb0f6..c7a7e66 100644
--- a/modules/audio_output/waveout.c
+++ b/modules/audio_output/waveout.c
@@ -462,7 +462,7 @@ static void Probe( aout_instance_t * p_aout )
text.psz_string = (char *)_("A/52 over S/PDIF");
var_Change( p_aout, "audio-device",
VLC_VAR_ADDCHOICE, &val, &text );
- if( config_GetInt( p_aout, "spdif" ) )
+ if( var_InheritInteger( p_aout, "spdif" ) )
var_Set( p_aout, "audio-device", val );
}
}
More information about the vlc-devel
mailing list