[vlc-commits] directsound: don't handle HDMI formats

Thomas Guillem git at videolan.org
Wed Sep 14 15:32:03 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Sep 14 09:05:01 2016 +0200| [0d2a1db481de585d80cd58b8cd90ebe0b4160cfa] | committer: Thomas Guillem

directsound: don't handle HDMI formats

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

 modules/audio_output/directsound.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/audio_output/directsound.c b/modules/audio_output/directsound.c
index 2f5b9f4..63b5242 100644
--- a/modules/audio_output/directsound.c
+++ b/modules/audio_output/directsound.c
@@ -609,6 +609,9 @@ static HRESULT Start( vlc_object_t *obj, aout_stream_sys_t *sys,
         msg_Warn( obj, "cannot set direct sound cooperative level" );
 #endif
 
+    if( AOUT_FMT_HDMI( fmt ) )
+        return E_FAIL;
+
     const char *const *ppsz_compare = speaker_list;
     char *psz_speaker;
     int i = 0;



More information about the vlc-commits mailing list