From 6a1902a2bf4e9502187ff65b6bb62ac16770cc83 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 26 Apr 2015 19:52:28 +0200 Subject: ytdl: force "best" format by default If the --ytdl-format option is not used, force the "best" format. Do this because youtube-dl is going to change its default format to one that will trigger the (partially broken) DASH support in our own code. Fixes #1867. (cherry picked from commit 95a0488ac2210fae28f8505349f0fc1a7f5dd9c2) --- options/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options/options.c b/options/options.c index 08ee420bd1..f59f1356c0 100644 --- a/options/options.c +++ b/options/options.c @@ -691,7 +691,7 @@ const struct MPOpts mp_default_opts = { #if HAVE_LUA .lua_load_osc = 1, .lua_load_ytdl = 1, - .lua_ytdl_format = NULL, + .lua_ytdl_format = "best", .lua_ytdl_raw_options = NULL, #endif .auto_load_scripts = 1, -- cgit v1.2.3