[vlc-commits] auhal: no HD audio codec support (for now)

Thomas Guillem git at videolan.org
Thu Mar 2 18:16:52 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Mar  2 12:48:33 2017 +0100| [8e12bfacfb49c0d4c7fa810b5955041861dbebbf] | committer: Thomas Guillem

auhal: no HD audio codec support (for now)

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

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

diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index cd1c7d5..3c74ad9 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -1364,7 +1364,7 @@ Start(audio_output_t *p_aout, audio_sample_format_t *restrict fmt)
     int                     b_alive = false;
     bool                    b_start_digital = false;
 
-    if (aout_FormatNbChannels(fmt) == 0)
+    if (aout_FormatNbChannels(fmt) == 0 || AOUT_FMT_HDMI(fmt))
         return VLC_EGENERIC;
 
     p_sys = p_aout->sys;



More information about the vlc-commits mailing list