diff options
author | Hendrik Leppkes <[email protected]> | 2012-01-13 22:14:36 +0100 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2012-06-21 19:49:37 +0200 |
commit | 14ac47fcc79b3c587af65e21be1da314882eeed0 (patch) | |
tree | 4d68ed81b034925ff8ac964cb296b3af04b18e60 | |
parent | b829da363985cb2f80130bba304cc29a632f6446 (diff) |
vc1: signal interlaced and tff flag to the consumer
Reviewed-by: Derek Buitenhuis <[email protected]>
Reviewed-by: Mashiat Sarker Shakkhar <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
-rw-r--r-- | libavcodec/vc1dec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 309194e911..4b6dcf295e 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -5542,6 +5542,9 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data, goto err; } + v->s.current_picture_ptr->f.interlaced_frame = (v->fcm != PROGRESSIVE); + v->s.current_picture_ptr->f.top_field_first = v->tff; + s->me.qpel_put = s->dsp.put_qpel_pixels_tab; s->me.qpel_avg = s->dsp.avg_qpel_pixels_tab; |