[FFmpeg-devel] [PATCH]Change stream id for DTS in mpeg program streams

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Aug 25 13:10:05 CEST 2013


Attached patch was suggested (and tested) in ticket #1398 (it is not 
related to the ticket), I don't have access to the relevant specification 
but several other open source projects use 0x88 for dts in mpegps.
The relevant original commit is 23c99253.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavformat/mpeg.h b/libavformat/mpeg.h
index a1e8980..cf10d6a 100644
--- a/libavformat/mpeg.h
+++ b/libavformat/mpeg.h
@@ -41,7 +41,7 @@
 #define AUDIO_ID 0xc0
 #define VIDEO_ID 0xe0
 #define AC3_ID   0x80
-#define DTS_ID   0x8a
+#define DTS_ID   0x88
 #define LPCM_ID  0xa0
 #define SUB_ID   0x20

More information about the ffmpeg-devel mailing list