summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.h
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2019-11-11 00:06:01 +0100
committerMarton Balint <cus@passwd.hu>2020-04-21 21:28:29 +0200
commit422f0a61367f068fb8b1b9ab8cc2eee1808c803c (patch)
tree1df3603c274f5e18adc6751151ff6b3dcadfd336 /libavformat/mpegts.h
parent561ba15c973120c9565a8f75a7439f3e8a10e04d (diff)
avformat/mpegtsenc: use standard pids for m2ts
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/mpegts.h')
-rw-r--r--libavformat/mpegts.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h
index 86a3eba4e2..059b693f07 100644
--- a/libavformat/mpegts.h
+++ b/libavformat/mpegts.h
@@ -65,6 +65,16 @@
* streams and other data tables */
#define NULL_PID 0x1FFF /* Null packet (used for fixed bandwidth padding) */
+/* m2ts pids */
+#define M2TS_PMT_PID 0x0100
+#define M2TS_PCR_PID 0x1001
+#define M2TS_VIDEO_PID 0x1011
+#define M2TS_AUDIO_START_PID 0x1100
+#define M2TS_PGSSUB_START_PID 0x1200
+#define M2TS_TEXTSUB_PID 0x1800
+#define M2TS_SECONDARY_AUDIO_START_PID 0x1A00
+#define M2TS_SECONDARY_VIDEO_START_PID 0x1B00
+
/* table ids */
#define PAT_TID 0x00 /* Program Association section */
#define CAT_TID 0x01 /* Conditional Access section */