mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-02 21:12:12 +00:00
lavfi/avf_showfreqs: set frame durations
The filter is supposed to produce CFR output.
This commit is contained in:
parent
dc686a0c22
commit
06758370aa
@ -469,6 +469,7 @@ static int plot_freqs(AVFilterLink *inlink, int64_t pts)
|
||||
|
||||
av_free(colors);
|
||||
out->pts = s->pts;
|
||||
out->duration = 1;
|
||||
out->sample_aspect_ratio = (AVRational){1,1};
|
||||
return ff_filter_frame(outlink, out);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user