Browse Source

utvideo: mark interlaced frames as such

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
tags/n1.0
Hendrik Leppkes Derek Buitenhuis 13 years ago
parent
commit
f6b4624fcf
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/utvideo.c

+ 2
- 0
libavcodec/utvideo.c View File

@@ -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;



Loading…
Cancel
Save