Commit 2d61f004 authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Michael Niedermayer

utvideo: mark interlaced frames as such

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f6943f23
......@@ -496,6 +496,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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment