diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-14 02:04:51 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-15 04:45:13 +0300 |
commit | 05e0ea60507d3bc7d13324130ccd9032f921c11d (patch) | |
tree | 6cc7cb0078469aa13445db4ba5cbc62760122c46 /libavfilter | |
parent | 6f373d75e8923ceb0c6b248b55f65f06dcf69101 (diff) |
avfilter/vf_tinterlace: Fix output top field first flag for MODE_INTERLACEX2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_tinterlace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c index 7397bebafd..4ce69daffe 100644 --- a/libavfilter/vf_tinterlace.c +++ b/libavfilter/vf_tinterlace.c @@ -342,6 +342,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *picref) return AVERROR(ENOMEM); av_frame_copy_props(out, next); out->interlaced_frame = 1; + out->top_field_first = !tff; if (next->pts != AV_NOPTS_VALUE && cur->pts != AV_NOPTS_VALUE) out->pts = cur->pts + next->pts; |