avfilter/vf_pullup: do not ignore frame field order

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2013-10-02 21:13:54 +00:00
parent 4a63c69faa
commit 5f99e6d632

View File

@ -657,7 +657,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
(const uint8_t**)in->data, in->linesize,
inlink->format, inlink->w, inlink->h);
p = !!in->interlaced_frame;
p = in->interlaced_frame ? !in->top_field_first : 0;
pullup_submit_field(s, b, p );
pullup_submit_field(s, b, p^1);