aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@iki.fi>2013-12-30 09:50:46 +0200
committerAnssi Hannula <anssi.hannula@iki.fi>2013-12-31 03:13:12 +0200
commit4a4437c0fbc8f7afe0c533070395a42e56b4ee75 (patch)
treea8332b974af0a167869fceb79ce7693f30a93a0d /libavformat
parent61d43a265176e8e724301b7721affbe9f61729d5 (diff)
downloadffmpeg-4a4437c0fbc8f7afe0c533070395a42e56b4ee75.tar.gz
avformat/mpegts: demux timed ID3 metadata
Used in some HLS streams ("Timed Metadata for HTTP Live Streaming"). This is just ID3 tags at arbitrary stream positions, but I still added "timed" to the codec name to avoid confusion with regular non-stream ID3 tags. Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mpegts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 39b1b5d552..db380cabf5 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -662,6 +662,7 @@ static const StreamType REGD_types[] = {
static const StreamType METADATA_types[] = {
{ 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 },
{ 0 },
};