summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-25 22:34:32 +0100
committerwm4 <wm4@nowhere>2014-02-25 22:34:32 +0100
commit67f244c6d4b0ef9ad2e55483508efbf6fe40d03b (patch)
tree320e7bc2b718af0192412dce83ee8ad864b99116 /libmpv
parent70ff543029068188a3de39a80a764267c6671e7c (diff)
downloadmpv-67f244c6d4b0ef9ad2e55483508efbf6fe40d03b.tar.bz2
mpv-67f244c6d4b0ef9ad2e55483508efbf6fe40d03b.tar.xz
config: don't save options to resume-config that didn't change
This is approximate: we read each option value on program start (before starting playback of a file), and when writing the resume config, compare each value to the current state. This also means when a value is changed and then changed back, it's not stored. In particular, option values set in config files and on the command line are considered the default. This should help reducing the numbers of options overridden by the resume config. If too much is overridden, it becomes an inconvenience, because changes in config files will apparently have no effect when resuming a file. Also see github issue #574.
Diffstat (limited to 'libmpv')
0 files changed, 0 insertions, 0 deletions