diff options
author | wm4 <wm4@nowhere> | 2015-04-26 19:52:28 +0200 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-04-28 08:33:17 +0900 |
commit | 6a1902a2bf4e9502187ff65b6bb62ac16770cc83 (patch) | |
tree | 25daff342b5c0a8d0fad9597b0581a3aed243b94 /options | |
parent | 192af725e6871d1e8054b37a2b911f69d87c6a20 (diff) | |
download | mpv-6a1902a2bf4e9502187ff65b6bb62ac16770cc83.tar.bz2 mpv-6a1902a2bf4e9502187ff65b6bb62ac16770cc83.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.
(cherry picked from commit 95a0488ac2210fae28f8505349f0fc1a7f5dd9c2)
Diffstat (limited to 'options')
-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, |