Commit 5f99e6d6 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_pullup: do not ignore frame field order

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 4a63c69f
...@@ -657,7 +657,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) ...@@ -657,7 +657,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
(const uint8_t**)in->data, in->linesize, (const uint8_t**)in->data, in->linesize,
inlink->format, inlink->w, inlink->h); 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 );
pullup_submit_field(s, b, p^1); pullup_submit_field(s, b, p^1);
......
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