Browse Source

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>
tags/n1.0
Hendrik Leppkes Michael Niedermayer 14 years ago
parent
commit
14ac47fcc7
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/vc1dec.c

+ 3
- 0
libavcodec/vc1dec.c View File

@@ -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…
Cancel
Save