[FFmpeg-cvslog] avfilter/f_graphmonitor: set output frame duration

Paul B Mahol git at videolan.org
Sun May 14 22:01:07 EEST 2023


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun May 14 20:47:08 2023 +0200| [66175c2dca357bc6c856249c934f96b9ca023aa4] | committer: Paul B Mahol

avfilter/f_graphmonitor: set output frame duration

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

 libavfilter/f_graphmonitor.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/f_graphmonitor.c b/libavfilter/f_graphmonitor.c
index de9aa395fe..d48f9fd990 100644
--- a/libavfilter/f_graphmonitor.c
+++ b/libavfilter/f_graphmonitor.c
@@ -402,6 +402,7 @@ static int create_frame(AVFilterContext *ctx, int64_t pts)
     }
 
     out->pts = pts;
+    out->duration = 1;
     s->pts = pts + 1;
     return ff_filter_frame(outlink, out);
 error:



More information about the ffmpeg-cvslog mailing list