mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/f_graphmonitor: set output frame duration
This commit is contained in:
parent
932ccf9e7d
commit
66175c2dca
|
@ -402,6 +402,7 @@ static int create_frame(AVFilterContext *ctx, int64_t pts)
|
||||||
}
|
}
|
||||||
|
|
||||||
out->pts = pts;
|
out->pts = pts;
|
||||||
|
out->duration = 1;
|
||||||
s->pts = pts + 1;
|
s->pts = pts + 1;
|
||||||
return ff_filter_frame(outlink, out);
|
return ff_filter_frame(outlink, out);
|
||||||
error:
|
error:
|
||||||
|
|
Loading…
Reference in New Issue