diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-01-03 18:17:43 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-21 11:47:00 +0200 |
commit | 2d61f0040da16650d2da77c453189e5084453062 (patch) | |
tree | 4a04b8a644d29bba8de109cc7cff6c83c425a4bd /libavcodec/utvideo.c | |
parent | f6943f23791d584800280b40e1b4107934ff5952 (diff) | |
download | ffmpeg-2d61f0040da16650d2da77c453189e5084453062.tar.gz |
utvideo: mark interlaced frames as such
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/utvideo.c')
-rw-r--r-- | libavcodec/utvideo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/utvideo.c b/libavcodec/utvideo.c index ead192be60..59ba7553e6 100644 --- a/libavcodec/utvideo.c +++ b/libavcodec/utvideo.c @@ -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; |