[vlc-devel] commit: auhal: kill config_Get ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Dec 30 19:39:44 CET 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 30 20:30:09 2009 +0200| [5f794a2baee911e8a7cf73f53e20c803b1351618] | committer: Rémi Denis-Courmont
auhal: kill config_Get
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5f794a2baee911e8a7cf73f53e20c803b1351618
---
modules/audio_output/auhal.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index 08842d0..15f2587 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -1040,7 +1040,8 @@ static void Probe( aout_instance_t * p_aout )
{
var_Change( p_aout, "audio-device", VLC_VAR_ADDCHOICE, &val, &text );
free( text.psz_string );
- if( p_sys->i_default_dev == p_devices[i] && config_GetInt( p_aout, "spdif" ) )
+ if( p_sys->i_default_dev == p_devices[i]
+ && var_InheritInteger( p_aout, "spdif" ) )
{
/* We selected to prefer SPDIF output if available
* then this "dummy" entry should be selected */
More information about the vlc-devel
mailing list