Commit 14ac47fc authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Michael Niedermayer

vc1: signal interlaced and tff flag to the consumer

Reviewed-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
Reviewed-by: 's avatarMashiat Sarker Shakkhar <mashiat.sarker@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b829da36
......@@ -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;
......
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