mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-18 05:11:09 +00:00
vc1: signal interlaced and tff flag to the consumer
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Reviewed-by: Mashiat Sarker Shakkhar <mashiat.sarker@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b829da3639
commit
14ac47fcc7
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user