[FFmpeg-cvslog] lavf/mpegts: add ID3 entry to the REGD_types array

Stefano Sabatini git at videolan.org
Thu May 19 18:43:29 CEST 2016


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Apr  7 20:40:52 2016 +0200| [4b38df82c25cac0234eeb5e6d7844370262d1d7a] | committer: Stefano Sabatini

lavf/mpegts: add ID3 entry to the REGD_types array

This allows to recognize ID3 packets from their corresponding descriptor
tag.

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

 libavformat/mpegts.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index f780ef5..203d79b 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -738,6 +738,7 @@ static const StreamType REGD_types[] = {
     { MKTAG('E', 'A', 'C', '3'), AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_EAC3  },
     { MKTAG('H', 'E', 'V', 'C'), AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_HEVC  },
     { MKTAG('K', 'L', 'V', 'A'), AVMEDIA_TYPE_DATA,  AV_CODEC_ID_SMPTE_KLV },
+    { MKTAG('I', 'D', '3', ' '), AVMEDIA_TYPE_DATA,  AV_CODEC_ID_TIMED_ID3 },
     { MKTAG('V', 'C', '-', '1'), AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_VC1   },
     { MKTAG('O', 'p', 'u', 's'), AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_OPUS  },
     { 0 },



More information about the ffmpeg-cvslog mailing list