Browse Source

lavf/mpegts: add ID3 entry to the REGD_types array

This allows to recognize ID3 packets from their corresponding descriptor
tag.
tags/n3.1
Stefano Sabatini 9 years ago
parent
commit
4b38df82c2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/mpegts.c

+ 1
- 0
libavformat/mpegts.c View File

@@ -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 },


Loading…
Cancel
Save