[vlc-commits] fourcc: add VLC_CODEC_DTSHD

Thomas Guillem git at videolan.org
Tue Oct 8 08:49:49 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Oct  7 11:43:52 2019 +0200| [8759eeadee61ba53e36c76ba1a15b486885e01d9] | committer: Thomas Guillem

fourcc: add VLC_CODEC_DTSHD

This new fourcc should only by used for audio output and filters. Decoder,
packetizers, and demuxers should not set it (but use PROFILE_DTS_* instead).

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

 include/vlc_aout.h   | 1 +
 include/vlc_fourcc.h | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/include/vlc_aout.h b/include/vlc_aout.h
index 0b2d19e49f..49527f30fb 100644
--- a/include/vlc_aout.h
+++ b/include/vlc_aout.h
@@ -84,6 +84,7 @@
 
 #define AOUT_FMT_HDMI( p_format )                   \
     ( (p_format)->i_format == VLC_CODEC_EAC3        \
+    ||(p_format)->i_format == VLC_CODEC_DTSHD       \
     ||(p_format)->i_format == VLC_CODEC_TRUEHD      \
     ||(p_format)->i_format == VLC_CODEC_MLP         \
     )
diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 691e493eb7..5bdf4ead11 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -444,6 +444,8 @@
 #define VLC_CODEC_A52                        VLC_FOURCC('a','5','2',' ')
 #define VLC_CODEC_EAC3                       VLC_FOURCC('e','a','c','3')
 #define VLC_CODEC_DTS                        VLC_FOURCC('d','t','s',' ')
+/* Only used by outputs and filters */
+#define VLC_CODEC_DTSHD                      VLC_FOURCC('d','t','s','h')
 #define VLC_CODEC_WMA1                       VLC_FOURCC('W','M','A','1')
 #define VLC_CODEC_WMA2                       VLC_FOURCC('W','M','A','2')
 #define VLC_CODEC_WMAP                       VLC_FOURCC('W','M','A','P')



More information about the vlc-commits mailing list