Skip to content
Snippets Groups Projects
Commit f6b4624f authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Derek Buitenhuis
Browse files

utvideo: mark interlaced frames as such

parent 88753337
No related branches found
No related tags found
No related merge requests found
...@@ -499,6 +499,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, ...@@ -499,6 +499,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
c->pic.key_frame = 1; c->pic.key_frame = 1;
c->pic.pict_type = AV_PICTURE_TYPE_I; c->pic.pict_type = AV_PICTURE_TYPE_I;
c->pic.interlaced_frame = !!c->interlaced;
*data_size = sizeof(AVFrame); *data_size = sizeof(AVFrame);
*(AVFrame*)data = c->pic; *(AVFrame*)data = c->pic;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment