aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-11-28 12:55:16 +0100
committerPaul B Mahol <onemda@gmail.com>2023-11-28 13:17:12 +0100
commit358aced447fb1fe11da8bf888dab4e9cade7bcdf (patch)
tree4aedb2e643a4e85cb6d4ed3785b58147c596e1c7
parent8b9c400f1d63eae28b1142eb998012b5327d95f9 (diff)
downloadffmpeg-358aced447fb1fe11da8bf888dab4e9cade7bcdf.tar.gz
avfilter/af_amultiply: set output frame duration
-rw-r--r--libavfilter/af_amultiply.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/af_amultiply.c b/libavfilter/af_amultiply.c
index 7871487cdd..4ae355c794 100644
--- a/libavfilter/af_amultiply.c
+++ b/libavfilter/af_amultiply.c
@@ -74,6 +74,7 @@ static int activate(AVFilterContext *ctx)
return AVERROR(ENOMEM);
out->pts = s->frames[0]->pts;
+ out->duration = s->frames[0]->duration;
if (av_get_packed_sample_fmt(ctx->inputs[0]->format) == AV_SAMPLE_FMT_FLT) {
for (i = 0; i < s->planes; i++) {