mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi/avf_showcqt: set frame durations
The filter is supposed to produce CFR output.
This commit is contained in:
parent
7d13c5dff0
commit
dc686a0c22
|
@ -1187,6 +1187,7 @@ static int plot_cqt(AVFilterContext *ctx, AVFrame **frameout)
|
|||
UPDATE_TIME(s->sono_time);
|
||||
}
|
||||
out->pts = s->next_pts;
|
||||
out->duration = PTS_STEP;
|
||||
s->next_pts += PTS_STEP;
|
||||
}
|
||||
s->sono_count = (s->sono_count + 1) % s->count;
|
||||
|
|
Loading…
Reference in New Issue