diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-10-20 21:32:55 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-10-20 21:32:55 +0400 |
commit | 3208854dba2d916d1c985bb45fbef938800fa439 (patch) | |
tree | 2f46f4f8a2a2c64e86835129f0b28036af8e96c1 /demuxer | |
parent | efdd14bcde4fef3a3400d1fd618f03beb2b2bee3 (diff) |
Support VP9
Diffstat (limited to 'demuxer')
-rw-r--r-- | demuxer/Demuxers/LAVFVideoHelper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/demuxer/Demuxers/LAVFVideoHelper.cpp b/demuxer/Demuxers/LAVFVideoHelper.cpp index a223796f..e4605a0c 100644 --- a/demuxer/Demuxers/LAVFVideoHelper.cpp +++ b/demuxer/Demuxers/LAVFVideoHelper.cpp @@ -53,6 +53,8 @@ static FormatMapping video_map[] = { { AV_CODEC_ID_BMP, &MEDIASUBTYPE_BMP, MKTAG('B','M','P',' '), NULL }, { AV_CODEC_ID_GIF, &MEDIASUBTYPE_GIF, MKTAG('G','I','F',' '), NULL }, { AV_CODEC_ID_TARGA, &MEDIASUBTYPE_TGA, MKTAG('T','G','A',' '), NULL }, + { AV_CODEC_ID_VP8, &MEDIASUBTYPE_VP80, MKTAG('V','P','8','0'), &FORMAT_VideoInfo2 }, + { AV_CODEC_ID_VP9, &MEDIASUBTYPE_VP90, MKTAG('V','P','9','0'), &FORMAT_VideoInfo2 }, }; CMediaType CLAVFVideoHelper::initVideoType(AVCodecID codecId, unsigned int &codecTag, std::string container) |