From 387f50127875f49236da918c4457bd837bb2f10e Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Mon, 3 Oct 2016 22:20:46 -0700 Subject: audio: make setting audio-exclusive update the audio chain This is required since exclusive mode requires entirely different initializaiton. --- options/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options/options.c') 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), -- cgit v1.2.3