Skip to content

Commit

Permalink
ytdl: force "best" format by default
Browse files Browse the repository at this point in the history
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 95a0488)
  • Loading branch information
wm4 authored and Diogo Franco (Kovensky) committed Apr 27, 2015
1 parent 192af72 commit 6a1902a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6a1902a

Please sign in to comment.