mpv/player/lua
CogentRedTester 712ef65e2a auto_profiles.lua: don't warn if profile-restore=default
The code assumed that the value of the profile-restore field is
"default" for such profiles, but the C implementation is such
that the field is intentionally omitted in such case.

This resulted in incorrectly trying to restore such profiles. However,
there are no stored values with profile-restore=default, so it only
resulted in a harmless warning, but otherwise behaved correctly (i.e.
nothing is restored).

Fix the condition by taking into account that missing field means
"default", so that it doesn't try to restore in such case, and
avoid the warning.
2022-01-30 15:13:10 +02:00
..
assdraw.lua
auto_profiles.lua auto_profiles.lua: don't warn if profile-restore=default 2022-01-30 15:13:10 +02:00
console.lua console.lua: define remaining emacs keybindings 2021-11-01 23:42:16 +11:00
defaults.lua lua: remove mp.suspend, resume and resume_all 2021-12-15 12:29:10 +01:00
options.lua
osc.lua osc: fix cache displaying 60s in some cases 2021-11-27 21:37:24 +02:00
stats.lua stats.lua: typo lavfi-complex 2021-08-15 12:27:40 +03:00
ytdl_hook.lua ytdl_hook.lua: improve check for sub language before inserting all-subs 2021-11-15 15:08:22 +01:00