[vlc-devel] [PATCH 3/9] aout: VLC_CODEC_EAC3 is a S/PDIF format

Thomas Guillem thomas at gllm.fr
Thu Sep 1 10:54:10 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 b6e3ea6..ecc2475 100644
--- a/include/vlc_aout.h
+++ b/include/vlc_aout.h
@@ -76,7 +76,8 @@
 #define AOUT_FMT_SPDIF( p_format ) \
     ( ((p_format)->i_format == VLC_CODEC_SPDIFL)       \
        || ((p_format)->i_format == VLC_CODEC_SPDIFB)   \
-       || ((p_format)->i_format == VLC_CODEC_A52)       \
+       || ((p_format)->i_format == VLC_CODEC_A52)      \
+       || ((p_format)->i_format == VLC_CODEC_EAC3)     \
        || ((p_format)->i_format == VLC_CODEC_DTS) )
 
 /* Values used for the audio-channels object variable */
-- 
2.9.3



More information about the vlc-devel mailing list