diff options
author | wm4 <wm4@nowhere> | 2016-07-11 11:03:31 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-07-11 11:03:36 +0200 |
commit | 61afe3820a9e967a471e6ef90162158f5cf87f39 (patch) | |
tree | 1f119f8bc8bed12bd7b21f9b3549ebfdf1c47c4b /audio/filter/af.c | |
parent | 60048b7eb957bbe09b9c42d11ed61911939b0553 (diff) | |
download | mpv-61afe3820a9e967a471e6ef90162158f5cf87f39.tar.bz2 mpv-61afe3820a9e967a471e6ef90162158f5cf87f39.tar.xz |
af_volume: don't let softvol overwrite af_volume volumedb sub-option
af_volume has a volumedb sub-option, which allows the user to set an
explicit volume. Until recently, the player read back this value and
used it as initial softvol volume. But now it just overwrites it.
Instead of overwriting it, multiply the different gain values. Above
all, this will do the right thing if only softvol is used, or if the
user only adds the af_volume filter manually.
Diffstat (limited to 'audio/filter/af.c')
0 files changed, 0 insertions, 0 deletions