summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2016-10-03 22:20:46 -0700
committerKevin Mitchell <kevmitch@gmail.com>2016-10-04 12:48:26 -0700
commit387f50127875f49236da918c4457bd837bb2f10e (patch)
treeb0402057a95e16f2b72db089d3830820abb739cb /options
parent39f515cb6a35b1c47a7b12bf600a673bf35921ac (diff)
downloadmpv-387f50127875f49236da918c4457bd837bb2f10e.tar.bz2
mpv-387f50127875f49236da918c4457bd837bb2f10e.tar.xz
audio: make setting audio-exclusive update the audio chain
This is required since exclusive mode requires entirely different initializaiton.
Diffstat (limited to 'options')
-rw-r--r--options/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c
index 9c195c3e68..7d1505300f 100644
--- a/options/options.c
+++ b/options/options.c
@@ -500,7 +500,7 @@ const m_option_t mp_opts[] = {
OPT_SETTINGSLIST("ao-defaults", ao_defs, 0, &ao_obj_list,
.deprecation_message = "deprecated, use global options"),
OPT_STRING("audio-device", audio_device, 0),
- OPT_FLAG("audio-exclusive", audio_exclusive, 0),
+ OPT_FLAG("audio-exclusive", audio_exclusive, UPDATE_AUDIO),
OPT_STRING("audio-client-name", audio_client_name, 0),
OPT_FLAG("audio-fallback-to-null", ao_null_fallback, 0),
OPT_FLAG("audio-stream-silence", audio_stream_silence, 0),