[FFmpeg-cvslog] avfilter/vf_midequalizer: always use framesync timestamps

Paul B Mahol git at videolan.org
Sun Jul 14 18:47:15 EEST 2019


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Jul 14 17:45:42 2019 +0200| [6882427841e66ecd081fce31b452814f0daaaba6] | committer: Paul B Mahol

avfilter/vf_midequalizer: always use framesync timestamps

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6882427841e66ecd081fce31b452814f0daaaba6
---

 libavfilter/vf_midequalizer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_midequalizer.c b/libavfilter/vf_midequalizer.c
index 6266cd7d5e..38d2193b2c 100644
--- a/libavfilter/vf_midequalizer.c
+++ b/libavfilter/vf_midequalizer.c
@@ -122,7 +122,7 @@ static int process_frame(FFFrameSync *fs)
                             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);
 }



More information about the ffmpeg-cvslog mailing list