mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 10:30:05 +01:00
lavfi/avf_showcqt: set frame durations
The filter is supposed to produce CFR output.
This commit is contained in:
@@ -1187,6 +1187,7 @@ static int plot_cqt(AVFilterContext *ctx, AVFrame **frameout)
|
|||||||
UPDATE_TIME(s->sono_time);
|
UPDATE_TIME(s->sono_time);
|
||||||
}
|
}
|
||||||
out->pts = s->next_pts;
|
out->pts = s->next_pts;
|
||||||
|
out->duration = PTS_STEP;
|
||||||
s->next_pts += PTS_STEP;
|
s->next_pts += PTS_STEP;
|
||||||
}
|
}
|
||||||
s->sono_count = (s->sono_count + 1) % s->count;
|
s->sono_count = (s->sono_count + 1) % s->count;
|
||||||
|
|||||||
Reference in New Issue
Block a user