fixes an issue with volume autodetection that caused clipping with some source masters

This commit is contained in:
Martinez 2017-08-17 23:11:27 +02:00
parent 9437d387ec
commit d12eb050a7
2 changed files with 2 additions and 1 deletions

View file

@ -268,6 +268,7 @@ if __name__ == "__main__":
print(output.decode("utf-8"))
raise RuntimeError
info.volume_correction = min(info.volume_correction, info.max_correction)
main.print("detected volume %.1f dB, correction %.1f dB, max. correction %.1f dB" %(info.mean_volume, info.volume_correction, info.max_correction))
if info.volume_correction > info.max_correction: