[vlc-devel] commit: headphone mixer: kill config_Get ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Dec 30 20:52:21 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 30 21:26:23 2009 +0200| [8417358d890b7e225fd99ae35bef04d4362ec347] | committer: Rémi Denis-Courmont 

headphone mixer: kill config_Get

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8417358d890b7e225fd99ae35bef04d4362ec347
---

 modules/audio_filter/channel_mixer/headphone.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/audio_filter/channel_mixer/headphone.c b/modules/audio_filter/channel_mixer/headphone.c
index 491781e..07c8da0 100644
--- a/modules/audio_filter/channel_mixer/headphone.c
+++ b/modules/audio_filter/channel_mixer/headphone.c
@@ -473,7 +473,7 @@ static int OpenFilter( vlc_object_t *p_this )
     }
     if( p_filter->fmt_in.audio.i_physical_channels == (AOUT_CHAN_LEFT|AOUT_CHAN_RIGHT)
           && ( p_filter->fmt_in.audio.i_original_channels & AOUT_CHAN_DOLBYSTEREO )
-          && !config_GetInt( p_filter, "headphone-dolby" ) )
+          && !var_InheritInteger( p_filter, "headphone-dolby" ) )
     {
         b_fit = false;
         p_filter->fmt_in.audio.i_physical_channels = AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT |




More information about the vlc-devel mailing list