[vlc-devel] [RFC PATCH 12/17] directsound: don't check "spdif" option
Thomas Guillem
thomas at gllm.fr
Mon Jul 25 17:24:01 CEST 2016
Input format can't be S/PDIF anymore if the "spdif" option is false.
---
modules/audio_output/directsound.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_output/directsound.c b/modules/audio_output/directsound.c
index 2f5b9f4..821979b 100644
--- a/modules/audio_output/directsound.c
+++ b/modules/audio_output/directsound.c
@@ -639,7 +639,7 @@ static HRESULT Start( vlc_object_t *obj, aout_stream_sys_t *sys,
vlc_mutex_init(&sys->lock);
vlc_cond_init(&sys->cond);
- if( AOUT_FMT_SPDIF( fmt ) && var_InheritBool( obj, "spdif" ) )
+ if( AOUT_FMT_SPDIF( fmt ) )
{
hr = CreateDSBuffer( obj, sys, VLC_CODEC_SPDIFL,
fmt->i_physical_channels,
--
2.8.1
More information about the vlc-devel
mailing list