提交 f6b4624f 编写于 作者: H Hendrik Leppkes 提交者: Derek Buitenhuis

utvideo: mark interlaced frames as such

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
Signed-off-by: NDerek Buitenhuis <derek.buitenhuis@gmail.com>
上级 88753337
......@@ -499,6 +499,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
c->pic.key_frame = 1;
c->pic.pict_type = AV_PICTURE_TYPE_I;
c->pic.interlaced_frame = !!c->interlaced;
*data_size = sizeof(AVFrame);
*(AVFrame*)data = c->pic;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册