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 95a0488ac2)
This commit is contained in:
wm4 authored and Diogo Franco (Kovensky) committed 2015-04-28 08:33:17 +09:00
1 parent 192af725e6
commit 6a1902a2bf
1 file changed
+1 -1
+1 -1
View File
@@ -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,