[FFmpeg-cvslog] avformat/mpegts: Add missing constants for MPEG-TS stream_id definitions

zheng qian git at videolan.org
Wed Apr 28 22:39:29 EEST 2021


ffmpeg | branch: master | zheng qian <xqq at xqq.im> | Sun Apr 25 11:52:18 2021 +0900| [f4df5039a791a56de85c64e6b9e4448a221b5c40] | committer: Marton Balint

avformat/mpegts: Add missing constants for MPEG-TS stream_id definitions

Signed-off-by: zheng qian <xqq at xqq.im>
Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f4df5039a791a56de85c64e6b9e4448a221b5c40
---

 libavformat/mpegts.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h
index 04874e0f42..224282b3ed 100644
--- a/libavformat/mpegts.h
+++ b/libavformat/mpegts.h
@@ -138,11 +138,19 @@
 #define STREAM_TYPE_AUDIO_EAC3      0x87
 
 /* ISO/IEC 13818-1 Table 2-22 */
+#define STREAM_ID_PROGRAM_STREAM_MAP 0xbc
 #define STREAM_ID_PRIVATE_STREAM_1   0xbd
+#define STREAM_ID_PADDING_STREAM     0xbe
+#define STREAM_ID_PRIVATE_STREAM_2   0xbf
 #define STREAM_ID_AUDIO_STREAM_0     0xc0
 #define STREAM_ID_VIDEO_STREAM_0     0xe0
+#define STREAM_ID_ECM_STREAM         0xf0
+#define STREAM_ID_EMM_STREAM         0xf1
+#define STREAM_ID_DSMCC_STREAM       0xf2
+#define STREAM_ID_TYPE_E_STREAM      0xf8
 #define STREAM_ID_METADATA_STREAM    0xfc
 #define STREAM_ID_EXTENDED_STREAM_ID 0xfd
+#define STREAM_ID_PROGRAM_STREAM_DIRECTORY  0xff
 
 /* ISO/IEC 13818-1 Table 2-45 */
 #define VIDEO_STREAM_DESCRIPTOR      0x02



More information about the ffmpeg-cvslog mailing list