avfilter/vf_midequalizer: always use framesync timestamps

This commit is contained in:
Paul B Mahol 2019-07-14 17:45:42 +02:00
parent 74236f675e
commit 6882427841

View File

@ -122,7 +122,7 @@ static int process_frame(FFFrameSync *fs)
s->cchange, s->histogram_size); s->cchange, s->histogram_size);
} }
} }
out->pts = av_rescale_q(in0->pts, s->fs.time_base, outlink->time_base); out->pts = av_rescale_q(s->fs.pts, s->fs.time_base, outlink->time_base);
return ff_filter_frame(outlink, out); return ff_filter_frame(outlink, out);
} }