summaryrefslogtreecommitdiffstats
path: root/player/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/client.c')
-rw-r--r--player/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/client.c b/player/client.c
index 2308555a1e..8e2bc4d1b7 100644
--- a/player/client.c
+++ b/player/client.c
@@ -417,6 +417,7 @@ mpv_handle *mpv_create(void)
mpv_set_option_string(ctx, "input-appleremote", "no");
mpv_set_option_string(ctx, "input-media-keys", "no");
mpv_set_option_string(ctx, "input-app-events", "no");
+ mpv_set_option_string(ctx, "stop-playback-on-init-failure", "yes");
} else {
mp_destroy(mpctx);
}