]> git.sesse.net Git - vlc/blobdiff - modules/audio_filter/converter/a52tofloat32.c
video_output/xcb: add --xvideo-format-id config option
[vlc] / modules / audio_filter / converter / a52tofloat32.c
index 5545ca2e2bacc5cf796cab14cb291f027051f27c..d108cb11022a1e0dffa0d7cb5f106cdb52a3dc06 100644 (file)
@@ -107,14 +107,14 @@ vlc_module_end ()
 static int Open( vlc_object_t *p_this, filter_sys_t *p_sys,
                  audio_format_t input, audio_format_t output )
 {
-    p_sys->b_dynrng = var_InheritInteger( p_this, "a52-dynrng" );
+    p_sys->b_dynrng = var_InheritBool( p_this, "a52-dynrng" );
     p_sys->b_dontwarn = 0;
 
     /* No upmixing: it's not necessary and some other filters may want to do
      * it themselves. */
     if ( aout_FormatNbChannels( &output ) > aout_FormatNbChannels( &input ) )
     {
-        if ( ! var_InheritInteger( p_this, "a52-upmix" ) )
+        if ( ! var_InheritBool( p_this, "a52-upmix" ) )
         {
             return VLC_EGENERIC;
         }