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.
This commit is contained in:
wm4 2015-04-26 19:52:28 +02:00
parent a5ed6e49bf
commit 95a0488ac2
1 changed files with 1 additions and 1 deletions

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,