[vlc-devel] [RFC PATCH 15/17] waveout: don't check "spdif" option
Thomas Guillem
thomas at gllm.fr
Mon Jul 25 17:24:04 CEST 2016
Input format can't be S/PDIF anymore if the "spdif" option is false.
---
modules/audio_output/waveout.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_output/waveout.c b/modules/audio_output/waveout.c
index 3ce8158..d37a4e4 100644
--- a/modules/audio_output/waveout.c
+++ b/modules/audio_output/waveout.c
@@ -200,7 +200,7 @@ static int Start( audio_output_t *p_aout, audio_sample_format_t *restrict fmt )
/* Open the device */
- if( AOUT_FMT_SPDIF(fmt) && var_InheritBool (p_aout, "spdif") )
+ if( AOUT_FMT_SPDIF(fmt) )
{
if( OpenWaveOut( p_aout, devid, VLC_CODEC_SPDIFL,
--
2.8.1
More information about the vlc-devel
mailing list