diff options
author | wm4 <wm4@nowhere> | 2016-09-20 00:59:54 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-20 01:24:27 +0200 |
commit | fb67db8b72a329fd017409338d6742c773ce85bf (patch) | |
tree | ff0a6dc6d6ba554d9ecf867147bc1bbd0d663a15 /player/core.h | |
parent | bf5c97a6c38352d492020cd5d6c7563c709bca9d (diff) | |
download | mpv-fb67db8b72a329fd017409338d6742c773ce85bf.tar.bz2 mpv-fb67db8b72a329fd017409338d6742c773ce85bf.tar.xz |
player: make --osc/--ytdl settable during playback
Setting the osc or ytdl properties will now load/unload the associated
scripts. (For ytdl this does not mean the currently played URL will be
reloaded.)
Also add a changelog entry for this, which also covers the preceding
work for --terminal.
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h index df2df834fa..d67a9d62ad 100644 --- a/player/core.h +++ b/player/core.h @@ -549,6 +549,7 @@ struct mp_scripting { int (*load)(struct mpv_handle *client, const char *filename); }; void mp_load_scripts(struct MPContext *mpctx); +void mp_load_builtin_scripts(struct MPContext *mpctx); // sub.c void reset_subtitle_state(struct MPContext *mpctx); |