From 78f59df6edf8a94aa08d23e32e2b06a4e2e31424 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 25 Nov 2014 16:47:32 +0100 Subject: client API: make sure youtube-dl is not used by default Currently, --ytdl is off by default, but even if this is changed, never enable it by default for the client API. It would be inappropriate to start an intrusive external subprocess behind the host application's back. --- player/client.c | 1 + 1 file changed, 1 insertion(+) (limited to 'player/client.c') diff --git a/player/client.c b/player/client.c index d01c611a3d..eaead01006 100644 --- a/player/client.c +++ b/player/client.c @@ -410,6 +410,7 @@ mpv_handle *mpv_create(void) mpv_set_option_string(ctx, "idle", "yes"); mpv_set_option_string(ctx, "terminal", "no"); mpv_set_option_string(ctx, "osc", "no"); + mpv_set_option_string(ctx, "ytdl", "no"); mpv_set_option_string(ctx, "input-default-bindings", "no"); mpv_set_option_string(ctx, "input-vo-keyboard", "no"); mpv_set_option_string(ctx, "input-lirc", "no"); -- cgit v1.2.3