summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.h
diff options
context:
space:
mode:
authorgoodthanks <tamlyn@internode.on.net>2014-04-25 14:23:41 +1000
committerMichael Niedermayer <michaelni@gmx.at>2014-04-27 14:24:29 +0200
commitc9cfd45838919ca70fee644dfd8ee1691739c94d (patch)
tree2b39732d90ad70bbbb2c7d4cbbba3580ec7eed4f /libavformat/mpegts.h
parent7e7b668ef50cc85d98a772b8fb3b96a26950b80f (diff)
avformat/mpegtsenc: Allow DTS audio copy to TS streams
This doesn't allow encoding of DTS or TrueHD. It just sets the correct stream ID in the TS output file when a DTS or TrueHD audio stream is copied. Fixes ticket #1398 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mpegts.h')
-rw-r--r--libavformat/mpegts.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h
index d7a9f03d6d..7dfe844bdb 100644
--- a/libavformat/mpegts.h
+++ b/libavformat/mpegts.h
@@ -58,7 +58,8 @@
#define STREAM_TYPE_VIDEO_DIRAC 0xd1
#define STREAM_TYPE_AUDIO_AC3 0x81
-#define STREAM_TYPE_AUDIO_DTS 0x8a
+#define STREAM_TYPE_AUDIO_DTS 0x82
+#define STREAM_TYPE_AUDIO_TRUEHD 0x83
typedef struct MpegTSContext MpegTSContext;