From 66aabd76a9c0eaa65baad72453ca09eb161fee25 Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Sat, 15 Dec 2012 23:18:41 +0100 Subject: [PATCH] mkv: support vp9 tag --- libavcodec/avcodec.h | 1 + libavformat/matroska.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index e57170b509..09b9b42ec7 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -267,6 +267,7 @@ enum AVCodecID { AV_CODEC_ID_MTS2, AV_CODEC_ID_CLLC, AV_CODEC_ID_MSS2, + AV_CODEC_ID_VP9, /* various PCM "codecs" */ AV_CODEC_ID_FIRST_AUDIO = 0x10000, ///< A dummy id pointing at the start of audio codecs diff --git a/libavformat/matroska.c b/libavformat/matroska.c index 5d1c13406a..7976be04a3 100644 --- a/libavformat/matroska.c +++ b/libavformat/matroska.c @@ -79,6 +79,7 @@ const CodecTags ff_mkv_codec_tags[]={ {"V_THEORA" , AV_CODEC_ID_THEORA}, {"V_UNCOMPRESSED" , AV_CODEC_ID_RAWVIDEO}, {"V_VP8" , AV_CODEC_ID_VP8}, + {"V_VP9" , AV_CODEC_ID_VP9}, {"" , AV_CODEC_ID_NONE} };