ffmpeg | branch: master | Paul B Mahol <[email protected]> | Tue Jan 17 18:55:52 2023 +0100| [ceb52d47a36f581c32bff7c91f7d1f80b0ae9050] | committer: Paul B Mahol
avfilter/avf_showvolume: set output video frame duration > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ceb52d47a36f581c32bff7c91f7d1f80b0ae9050 --- libavfilter/avf_showvolume.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/avf_showvolume.c b/libavfilter/avf_showvolume.c index 952f079a67..24d42d030d 100644 --- a/libavfilter/avf_showvolume.c +++ b/libavfilter/avf_showvolume.c @@ -339,6 +339,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamples) clear_picture(s, outlink); } s->out->pts = av_rescale_q(insamples->pts, inlink->time_base, outlink->time_base); + s->out->duration = 1; if ((s->f < 1.) && (s->f > 0.)) { for (j = 0; j < outlink->h; j++) { _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
