mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
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…
x
Reference in New Issue
Block a user