mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +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);
|
av_free(colors);
|
||||||
out->pts = s->pts;
|
out->pts = s->pts;
|
||||||
|
out->duration = 1;
|
||||||
out->sample_aspect_ratio = (AVRational){1,1};
|
out->sample_aspect_ratio = (AVRational){1,1};
|
||||||
return ff_filter_frame(outlink, out);
|
return ff_filter_frame(outlink, out);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user