summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.h
diff options
context:
space:
mode:
authorStefan Pöschel <basic.master@gmx.de>2015-12-13 11:54:32 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-24 02:30:33 +0100
commit470749703e3cec3a86bc556648a20f0ec1701954 (patch)
treef6d36331f25f90365b09f2efd2630539f37e0804 /libavformat/mpegts.h
parente42e0b11f1df41e034c22c71656b43f402302ab5 (diff)
avformat/mpegtsenc: add flag to embed an AC-3/E-AC-3 ES the DVB way
So far an AC-3 elementary stream is refered to in the PMT according to System A (ATSC). An E-AC-3 ES in contrast is embedded the System B (DVB) way. To fix this inconsistency, this commit changes the default E-AC-3 behaviour to use the ATSC way, too. Furthermore a new flag is added to optionally select the DVB way (regarding both codecs and possible further differences in the future). Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/mpegts.h')
-rw-r--r--libavformat/mpegts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h
index 84f30983c1..0cdbc76b37 100644
--- a/libavformat/mpegts.h
+++ b/libavformat/mpegts.h
@@ -60,6 +60,7 @@
#define STREAM_TYPE_AUDIO_AC3 0x81
#define STREAM_TYPE_AUDIO_DTS 0x82
#define STREAM_TYPE_AUDIO_TRUEHD 0x83
+#define STREAM_TYPE_AUDIO_EAC3 0x87
typedef struct MpegTSContext MpegTSContext;