You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02: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