diff options
author | Julian <MyFakeAcc.4@googlemail.com> | 2017-09-27 01:17:47 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-09 20:47:33 +0200 |
commit | 92a9150cc253fb3ce21228d5b5afb6a06d7054fd (patch) | |
tree | 3eb6ee3988d455877b5101cde0e218199216c7b6 /options/options.c | |
parent | c38ad6ae6fec6f7190702e3d8a909fdd08a413be (diff) | |
download | mpv-92a9150cc253fb3ce21228d5b5afb6a06d7054fd.tar.bz2 mpv-92a9150cc253fb3ce21228d5b5afb6a06d7054fd.tar.xz |
lua: integrate stats.lua script
Signed-off-by: wm4 <wm4@nowhere>
Rename --stats to --load-stats-overlay and add an entry to options.rst
over the original commit.
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index eae58a45a4..a0aa4a89f8 100644 --- a/options/options.c +++ b/options/options.c @@ -304,6 +304,7 @@ const m_option_t mp_opts[] = { OPT_FLAG("ytdl", lua_load_ytdl, UPDATE_BUILTIN_SCRIPTS), OPT_STRING("ytdl-format", lua_ytdl_format, 0), OPT_KEYVALUELIST("ytdl-raw-options", lua_ytdl_raw_options, 0), + OPT_FLAG("load-stats-overlay", lua_load_stats, UPDATE_BUILTIN_SCRIPTS), #endif // ------------------------- stream options -------------------- @@ -871,6 +872,7 @@ const struct MPOpts mp_default_opts = { .lua_load_ytdl = 1, .lua_ytdl_format = NULL, .lua_ytdl_raw_options = NULL, + .lua_load_stats = 1, #endif .auto_load_scripts = 1, .loop_times = 1, |