[FFmpeg-cvslog] avfilter/vf_pullup: do not ignore frame field order

Paul B Mahol git at videolan.org
Thu Oct 3 22:00:16 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Oct  2 21:13:54 2013 +0000| [5f99e6d632dabef3583156ab531a5d92aeaaaaae] | committer: Paul B Mahol

avfilter/vf_pullup: do not ignore frame field order

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5f99e6d632dabef3583156ab531a5d92aeaaaaae
---

 libavfilter/vf_pullup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_pullup.c b/libavfilter/vf_pullup.c
index a47f339..4ad441f 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);
 



More information about the ffmpeg-cvslog mailing list