[FFmpeg-devel] [PATCH] vp9_parser: set profile in AVCodecContext
chcunningham
chcunningham at chromium.org
Wed Oct 24 04:16:02 EEST 2018
---
libavcodec/vp9_parser.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/vp9_parser.c b/libavcodec/vp9_parser.c
index 9531f34a32..b6b621198b 100644
--- a/libavcodec/vp9_parser.c
+++ b/libavcodec/vp9_parser.c
@@ -43,6 +43,8 @@ static int parse(AVCodecParserContext *ctx,
profile |= get_bits1(&gb) << 1;
if (profile == 3) profile += get_bits1(&gb);
+ avctx->profile = profile;
+
if (get_bits1(&gb)) {
keyframe = 0;
} else {
--
2.19.1.568.g152ad8e336-goog
More information about the ffmpeg-devel
mailing list