diff options
author | wm4 <wm4@nowhere> | 2014-02-27 01:07:46 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-27 01:07:46 +0100 |
commit | 14607f27ef01c81e4544d0eaa7ed182001c15305 (patch) | |
tree | 73c18acabeef92272543af8be450c7bf9738e02a /demux/demux_edl.c | |
parent | b4fb71634cf746cfd9ba19c1260dbc0aee38700e (diff) | |
download | mpv-14607f27ef01c81e4544d0eaa7ed182001c15305.tar.bz2 mpv-14607f27ef01c81e4544d0eaa7ed182001c15305.tar.xz |
command: use the step size for "add volume" commands
The step argument for "add volume <step>" was ignored until now. Fix it.
There is one problem: by defualt, "add volume" should use the value set
with --volstep. This value is 3 by default. Since the default volue for
the step argument is always 1 (and we don't really want to make the
generic code more complicated by introducing custom step sizes), we
simply multiply the step argument with --volstep to keep it compatible.
The --volstep option should probably be just removed in the future.
Diffstat (limited to 'demux/demux_edl.c')
0 files changed, 0 insertions, 0 deletions