[vlc-devel] [PATCH 7/9] aout: TRUEHD and MLP are HDMI formats

Thomas Guillem thomas at gllm.fr
Wed Oct 5 18:37:50 CEST 2016


---
 include/vlc_aout.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/vlc_aout.h b/include/vlc_aout.h
index 6f471f2..edab03b 100644
--- a/include/vlc_aout.h
+++ b/include/vlc_aout.h
@@ -82,9 +82,10 @@
        || ((p_format)->i_format == VLC_CODEC_A52)      \
        || ((p_format)->i_format == VLC_CODEC_DTS) )
 
-/* TODO: add VLC_CODEC_MLP, VLC_CODEC_TRUEHD */
 #define AOUT_FMT_HDMI( p_format )                   \
     ( (p_format)->i_format == VLC_CODEC_EAC3        \
+    ||(p_format)->i_format == VLC_CODEC_TRUEHD      \
+    ||(p_format)->i_format == VLC_CODEC_MLP         \
     )
 
 /* Values used for the audio-channels object variable */
-- 
2.9.3



More information about the vlc-devel mailing list