avfilter/f_graphmonitor: set output frame duration

This commit is contained in:
Paul B Mahol
2023-05-14 20:58:08 +02:00
parent 932ccf9e7d
commit 66175c2dca
+1
View File
@@ -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: