[vlc-commits] wasapi: don't check "spdif" option

Thomas Guillem git at videolan.org
Thu Jul 28 09:04:37 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jul 25 10:35:36 2016 +0200| [79c73bfe275394ebb787b0f200c60c4692d47734] | committer: Thomas Guillem

wasapi: don't check "spdif" option

Input format can't be S/PDIF anymore if the "spdif" option is false.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=79c73bfe275394ebb787b0f200c60c4692d47734
---

 modules/audio_output/wasapi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_output/wasapi.c b/modules/audio_output/wasapi.c
index 63d0e91..6cc1416 100644
--- a/modules/audio_output/wasapi.c
+++ b/modules/audio_output/wasapi.c
@@ -396,7 +396,7 @@ static HRESULT Start(aout_stream_t *s, audio_sample_format_t *restrict fmt,
     WAVEFORMATEX *pwf;
     AUDCLNT_SHAREMODE shared_mode;
 
-    if (AOUT_FMT_SPDIF(fmt) && var_InheritBool(s, "spdif"))
+    if (AOUT_FMT_SPDIF(fmt))
     {
         vlc_SpdifToWave(&wf, fmt);
         shared_mode = AUDCLNT_SHAREMODE_EXCLUSIVE;



More information about the vlc-commits mailing list