summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.h
diff options
context:
space:
mode:
authorBrad Hards <bradh@frogmouth.net>2020-06-09 01:01:24 +0200
committerMarton Balint <cus@passwd.hu>2020-06-09 01:01:28 +0200
commitfb819697f6977981ab864214025e041ebf30f2b4 (patch)
tree2b461d1db9a65b40650ffd85597d799dd05610c7 /libavformat/mpegts.h
parent81975cd24b043c853d5eeacbb2692a3a6f966034 (diff)
avformat/mpegts: add constants for MPEG-TS transport stream identifiers
Signed-off-by: Brad Hards <bradh@frogmouth.net> Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/mpegts.h')
-rw-r--r--libavformat/mpegts.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h
index 059b693f07..fe10b38691 100644
--- a/libavformat/mpegts.h
+++ b/libavformat/mpegts.h
@@ -137,6 +137,13 @@
#define STREAM_TYPE_AUDIO_TRUEHD 0x83
#define STREAM_TYPE_AUDIO_EAC3 0x87
+/* ISO/IEC 13818-1 Table 2-22 */
+#define STREAM_ID_PRIVATE_STREAM_1 0xbd
+#define STREAM_ID_AUDIO_STREAM_0 0xc0
+#define STREAM_ID_VIDEO_STREAM_0 0xe0
+#define STREAM_ID_METADATA_STREAM 0xfc
+#define STREAM_ID_EXTENDED_STREAM_ID 0xfd
+
typedef struct MpegTSContext MpegTSContext;
MpegTSContext *avpriv_mpegts_parse_open(AVFormatContext *s);