From 2c4a10134ef4c690a47bcb7f1a5c9a72e90ec118 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 20 Jun 2010 11:40:41 +0000 Subject: [PATCH] Add IEC958 data_types for DTS-HD (data burst described in IEC 61937-5), E-AC-3 (61937-3 Edition 2) and TrueHD (61937-9). Originally committed as revision 23655 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/spdif.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/spdif.c b/libavformat/spdif.c index cb2756f5ab..813be679d7 100644 --- a/libavformat/spdif.c +++ b/libavformat/spdif.c @@ -64,9 +64,12 @@ enum IEC958DataType { IEC958_ATRAC = 0x0E, ///< Atrac data IEC958_ATRAC3 = 0x0F, ///< Atrac 3 data IEC958_ATRACX = 0x10, ///< Atrac 3 plus data + IEC958_DTSHD = 0x11, ///< DTS HD data IEC958_WMAPRO = 0x12, ///< WMA 9 Professional data IEC958_MPEG2_AAC_LSF_2048 = 0x13, ///< MPEG-2 AAC ADTS half-rate low sampling frequency IEC958_MPEG2_AAC_LSF_4096 = 0x13 | 0x20, ///< MPEG-2 AAC ADTS quarter-rate low sampling frequency + IEC958_EAC3 = 0x15, ///< E-AC-3 data + IEC958_TRUEHD = 0x16, ///< TrueHD data }; typedef struct IEC958Context {