diff options
author | Guido Cella <guido@guidocella.xyz> | 2021-08-03 12:11:10 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2021-08-03 13:17:12 +0000 |
commit | dd7a49eb71a65c488770458cbac3bc48cfee6b80 (patch) | |
tree | 536752d48fdb6fe22e3051999fe5fafc84f23187 /video/out/drm_atomic.c | |
parent | 416668d3c8bb5d09ebb3d5e3dbe715856165898b (diff) | |
download | mpv-dd7a49eb71a65c488770458cbac3bc48cfee6b80.tar.bz2 mpv-dd7a49eb71a65c488770458cbac3bc48cfee6b80.tar.xz |
options: don't always set set-locally to true
Since 1d1d1fbff9 option-info/<name>/set-locally was being set to true
for every option. This broke setting start from ytdl-hook, which doesn't
overwrite start if it was set-locally. Fix this so that only adding an
option to reset-on-next-file or setting file-local-options/<name> make
set-locally true like before.
However, it's arguable that just adding an option to
reset-on-next-file without ever changing it should not make set-locally
true, so that e.g.
--reset-on-next-file=start 'https://youtube.com/watch?v=...&t=30'
will start at 30, though it currently doesn't.
Fixes #9081.
Diffstat (limited to 'video/out/drm_atomic.c')
0 files changed, 0 insertions, 0 deletions