diff options
author | wm4 <wm4@nowhere> | 2012-11-15 19:22:01 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-16 21:21:15 +0100 |
commit | 25a098fe78ad2aee0ad7e18f8d4326e5cd29aeb1 (patch) | |
tree | eb7630929380192859eeae40d1671910b43bedfb /core/defaultopts.c | |
parent | 1197e13c2f86ea0c521c206fa3412d50587376da (diff) | |
download | mpv-25a098fe78ad2aee0ad7e18f8d4326e5cd29aeb1.tar.bz2 mpv-25a098fe78ad2aee0ad7e18f8d4326e5cd29aeb1.tar.xz |
options: add --mute for setting initial audio mute status
Similar to --volume. Takes this as opportunity to move the variable
corresponding to --volume into MPOpts.
Diffstat (limited to 'core/defaultopts.c')
-rw-r--r-- | core/defaultopts.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/defaultopts.c b/core/defaultopts.c index a20656dd02..28ae445388 100644 --- a/core/defaultopts.c +++ b/core/defaultopts.c @@ -13,6 +13,8 @@ void set_default_mplayer_options(struct MPOpts *opts) .fixed_vo = 1, .softvol = SOFTVOL_AUTO, .softvol_max = 200, + .mixer_init_volume = -1, + .mixer_init_mute = -1, .ao_buffersize = -1, .vo_wintitle = "mpv - ${media-title}", .monitor_pixel_aspect = 1.0, |