[vlc-commits] aout: TRUEHD and MLP are HDMI formats

Thomas Guillem git at videolan.org
Fri Oct 7 12:10:18 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Oct  5 15:42:57 2016 +0200| [7e41f98e25da2c79e74b107e593450416fdacd19] | committer: Thomas Guillem

aout: TRUEHD and MLP are HDMI formats

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

 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 a4dc8fa..bbe7b4c 100644
--- a/include/vlc_aout.h
+++ b/include/vlc_aout.h
@@ -79,9 +79,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 */



More information about the vlc-commits mailing list