]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/directx.c
Fix assertions. (dts-dynrng and spdif are boolean parameters)
[vlc] / modules / audio_output / directx.c
index f7e6895d313cfdf6c16aff0468f6a9196bfdf178..f03db57ce9c08d647db2f5259e7198c9d9951947 100644 (file)
@@ -553,7 +553,7 @@ static void Probe( aout_instance_t * p_aout )
             text.psz_string = _("A/52 over S/PDIF");
             var_Change( p_aout, "audio-device",
                         VLC_VAR_ADDCHOICE, &val, &text );
-            if( var_InheritInteger( p_aout, "spdif" ) )
+            if( var_InheritBool( p_aout, "spdif" ) )
                 var_Set( p_aout, "audio-device", val );
         }
     }