[Mplayer-cvslog] CVS: main/libmpdemux demux_mkv.cpp,1.11,1.12 matroska.h,1.1,1.2
Moritz Bunkus CVS
mosu at mplayerhq.hu
Thu May 15 12:36:31 CEST 2003
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv19478
Modified Files:
demux_mkv.cpp matroska.h
Log Message:
Support for DTS tracks (only with -hwac3 of course).
Index: demux_mkv.cpp
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mkv.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- demux_mkv.cpp 11 May 2003 19:33:46 -0000 1.11
+++ demux_mkv.cpp 15 May 2003 10:36:06 -0000 1.12
@@ -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)) {
Index: matroska.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/matroska.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- matroska.h 30 Apr 2003 11:39:32 -0000 1.1
+++ matroska.h 15 May 2003 10:36:06 -0000 1.2
@@ -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"
More information about the MPlayer-cvslog
mailing list