Signed-off-by: Nicolas George <geo...@nsup.org> --- libavfilter/avfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 3927e7f7ac..6d24f74c08 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -1116,7 +1116,6 @@ static int ff_filter_frame_framed(AVFilterLink *link, AVFrame *frame) filter_frame = default_filter_frame; ret = filter_frame(link, frame); link->frame_count_out++; - ff_update_link_current_pts(link, frame->pts); return ret; fail: @@ -1515,6 +1514,7 @@ int ff_link_check_available_samples(AVFilterLink *link, unsigned min) static void consume_update(AVFilterLink *link, const AVFrame *frame) { + ff_update_link_current_pts(link, frame->pts); ff_link_process_commands(link, frame); ff_link_process_timeline(link, frame); link->frame_count_out++; -- 2.11.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel