aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-10-02 21:13:54 +0000
committerPaul B Mahol <onemda@gmail.com>2013-10-03 02:43:20 +0000
commit5f99e6d632dabef3583156ab531a5d92aeaaaaae (patch)
tree8e830cb610a4ef208ceb32a226cf479b01648685
parent4a63c69faac6fca4eea6fc4e8466ebdc8c4575c5 (diff)
downloadffmpeg-5f99e6d632dabef3583156ab531a5d92aeaaaaae.tar.gz
avfilter/vf_pullup: do not ignore frame field order
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavfilter/vf_pullup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_pullup.c b/libavfilter/vf_pullup.c
index a47f33938b..4ad441f996 100644
--- a/libavfilter/vf_pullup.c
+++ b/libavfilter/vf_pullup.c
@@ -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);