summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2021-07-21 11:06:41 +0200
committerDudemanguy <random342@airmail.cc>2021-07-21 13:19:28 +0000
commit1d1d1fbff9648e9adf7acf571514abf618ffc40f (patch)
tree9a3fde28a5fe5e2f5465fe7b7fdecddc24a03b4c /player/core.h
parentccb87ad6374c69beb7e88357003bb13cb427a6ee (diff)
downloadmpv-1d1d1fbff9648e9adf7acf571514abf618ffc40f.tar.bz2
mpv-1d1d1fbff9648e9adf7acf571514abf618ffc40f.tar.xz
options: add watch-later-options
This allows configuring which options are saved by quit-watch-later. Fixes #4126, #4641 and #5567. Toggling a video or audio filter twice would treat the option as changed because the backup value is NULL, and the current value of vf/af is a list with one empty item, so obj_settings_list_equal had to be changed.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/player/core.h b/player/core.h
index fcb513bed1..1d5b395b07 100644
--- a/player/core.h
+++ b/player/core.h
@@ -295,7 +295,6 @@ typedef struct MPContext {
// Return code to use with PT_QUIT
int quit_custom_rc;
bool has_quit_custom_rc;
- char **resume_defaults;
// Global file statistics
int files_played; // played without issues (even if stopped by user)
@@ -511,7 +510,6 @@ void audio_start_ao(struct MPContext *mpctx);
// configfiles.c
void mp_parse_cfgfiles(struct MPContext *mpctx);
void mp_load_auto_profiles(struct MPContext *mpctx);
-void mp_get_resume_defaults(struct MPContext *mpctx);
void mp_load_playback_resume(struct MPContext *mpctx, const char *file);
void mp_write_watch_later_conf(struct MPContext *mpctx);
void mp_delete_watch_later_conf(struct MPContext *mpctx, const char *file);