mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vf_tinterlace: Fix output top field first flag for MODE_INTERLACEX2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6f373d75e8
commit
05e0ea6050
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue