]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/waveout.c
Release the display mode when we are done with it.
[vlc] / modules / audio_output / waveout.c
index 28eb0f6ec6ebc3a411f227f7d1a2b1874faf8917..514f04dfe8f6fbb8d8347a868e822dfcd6df6813 100644 (file)
@@ -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_InheritBool( p_aout, "spdif" ) )
                 var_Set( p_aout, "audio-device", val );
         }
     }