diff options
author | wm4 <wm4@nowhere> | 2015-04-26 19:52:28 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-04-26 19:52:28 +0200 |
commit | 95a0488ac2210fae28f8505349f0fc1a7f5dd9c2 (patch) | |
tree | 349589c623d070765eef9e0a8878e989aea916c0 | |
parent | a5ed6e49bf87500ed606437901f00ae9b3da138f (diff) | |
download | mpv-95a0488ac2210fae28f8505349f0fc1a7f5dd9c2.tar.bz2 mpv-95a0488ac2210fae28f8505349f0fc1a7f5dd9c2.tar.xz |
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.
-rw-r--r-- | options/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |