Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_tinterlace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c
index 399adc102d..7c54861de4 100644
--- a/libavfilter/vf_tinterlace.c
+++ b/libavfilter/vf_tinterlace.c
@@ -510,6 +510,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *picref)
}
out->pts = av_rescale_q(out->pts, tinterlace->preout_time_base, outlink->time_base);
+ out->duration = av_rescale_q(1, av_inv_q(outlink->frame_rate), outlink->time_base);
ret = ff_filter_frame(outlink, out);
return ret;