diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-11-19 23:33:28 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-20 00:17:13 +0100 |
commit | cf8efe32351c745903cc3b3bf0b8bc0f33d5cfd5 (patch) | |
tree | 119ee7efcb3e32aa67df965ec497e6e227d56ae7 /options/options.h | |
parent | bf2eb51d6802824606e72ad2e8ada753bbaaaef1 (diff) | |
download | mpv-cf8efe32351c745903cc3b3bf0b8bc0f33d5cfd5.tar.bz2 mpv-cf8efe32351c745903cc3b3bf0b8bc0f33d5cfd5.tar.xz |
options: add --ytdl-format option for youtube-dl format
It's passed with the '--format' option to youtube-dl.
If it isn't set, we don't pass '--format best' so that youtube-dl can
use the options from its configuration file.
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'options/options.h')
-rw-r--r-- | options/options.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h index 5885f689f8..752d1f4801 100644 --- a/options/options.h +++ b/options/options.h @@ -62,6 +62,8 @@ typedef struct MPOpts { char **lua_opts; int lua_load_osc; int lua_load_ytdl; + char *lua_ytdl_format; + int auto_load_scripts; struct m_obj_settings *audio_driver_list, *ao_defs; |