[FFmpeg-devel] [PATCH]Add data_types for EAC3 and TrueHD to spdif
Carl Eugen Hoyos
cehoyos
Wed Jun 16 15:38:29 CEST 2010
Hi!
These are the result of a bit of trial-and-error, I will apply if nobody
objects.
Carl Eugen
-------------- next part --------------
Index: libavformat/spdif.c
===================================================================
--- libavformat/spdif.c (revision 23623)
+++ libavformat/spdif.c (working copy)
@@ -63,6 +63,8 @@
IEC958_DTS3 = 0x0D, ///< DTS type III (2048 samples)
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 {
More information about the ffmpeg-devel
mailing list