[FFmpeg-cvslog] avfilter/vsrc_cellauto: set video frame duration

Paul B Mahol git at videolan.org
Tue Jan 17 18:51:24 EET 2023


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Jan 17 15:43:13 2023 +0100| [6d2b57fd31742e27d2fc6f6dbf88fa5ecdffcf05] | committer: Paul B Mahol

avfilter/vsrc_cellauto: set video frame duration

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

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

diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c
index 226182daf2..8c682a7052 100644
--- a/libavfilter/vsrc_cellauto.c
+++ b/libavfilter/vsrc_cellauto.c
@@ -302,6 +302,7 @@ static int request_frame(AVFilterLink *outlink)
     evolve(outlink->src);
 
     picref->pts = s->pts++;
+    picref->duration = 1;
 
 #ifdef DEBUG
     show_cellauto_row(outlink->src);



More information about the ffmpeg-cvslog mailing list