X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Favfilter.c;h=8c06173c8318fed4338a3c1230a1136f3a8cd223;hb=eaf1f01169357bf11883d1a7d9f0e6bbf62b26d8;hp=4edd5be30f8f014db525bbc3579adc283cb82c28;hpb=7456164b5036ed3ec2ff8baadba8dfc7f92cc2e3;p=ffmpeg diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 4edd5be30f8..8c06173c831 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -706,7 +706,7 @@ static int ff_filter_frame_framed(AVFilterLink *link, AVFilterBufferRef *frame) } else out = frame; - while(cmd && cmd->time <= frame->pts * av_q2d(link->time_base)){ + while(cmd && cmd->time <= out->pts * av_q2d(link->time_base)){ av_log(link->dst, AV_LOG_DEBUG, "Processing command time:%f command:%s arg:%s\n", cmd->time, cmd->command, cmd->arg);