mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02: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