mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avfilter/avf_showspectrum: increase padding size for low sample rates
This commit is contained in:
parent
fe447c0609
commit
50a2347b19
@ -446,7 +446,7 @@ static int config_output(AVFilterLink *outlink)
|
||||
outlink->sample_aspect_ratio = (AVRational){1,1};
|
||||
|
||||
if (s->legend) {
|
||||
s->start_x = log10(inlink->sample_rate) * 25;
|
||||
s->start_x = (log10(inlink->sample_rate) + 1) * 25;
|
||||
s->start_y = 64;
|
||||
outlink->w += s->start_x * 2;
|
||||
outlink->h += s->start_y * 2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user