Mercurial > mplayer.hg
changeset 10105:dc4f1b768062
Support for DTS tracks (only with -hwac3 of course).
author | mosu |
---|---|
date | Thu, 15 May 2003 10:36:06 +0000 |
parents | d651256e66b2 |
children | b5b7b2f4f069 |
files | libmpdemux/demux_mkv.cpp libmpdemux/matroska.h |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.cpp Wed May 14 22:49:02 2003 +0000 +++ b/libmpdemux/demux_mkv.cpp Thu May 15 10:36:06 2003 +0000 @@ -459,6 +459,9 @@ t->a_formattag = 0x0055; else if (!strcmp(t->codec_id, MKV_A_AC3)) t->a_formattag = 0x2000; + else if (!strcmp(t->codec_id, MKV_A_DTS)) + // uses same format tag as AC3, only supported with -hwac3 + t->a_formattag = 0x2000; else if (!strcmp(t->codec_id, MKV_A_PCM)) t->a_formattag = 0x0001; else if (!strcmp(t->codec_id, MKV_A_VORBIS)) {
--- a/libmpdemux/matroska.h Wed May 14 22:49:02 2003 +0000 +++ b/libmpdemux/matroska.h Thu May 15 10:36:06 2003 +0000 @@ -9,6 +9,7 @@ #define MKV_A_MP3 "A_MPEG/L3" #define MKV_A_AC3 "A_AC3" +#define MKV_A_DTS "A_DTS" #define MKV_A_PCM "A_PCM/INT/LIT" #define MKV_A_VORBIS "A_VORBIS" #define MKV_A_ACM "A_MS/ACM"