mpv/player
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
..
javascript js: ~~/init.js: use mp.find_config_file 2021-11-01 14:31:18 +01:00
lua auto_profiles.lua: don't warn if profile-restore=default 2022-01-30 15:13:10 +02:00
audio.c audio: fix typo 2021-12-03 14:04:58 -08:00
client.c player: make deprecated track/chapter/metadata events internal 2021-12-15 12:29:10 +01:00
client.h
command.c Revert "options: add --sub-visibility=<primary-only|secondary-only>" 2022-01-19 21:56:28 +02:00
command.h player: make deprecated track/chapter/metadata events internal 2021-12-15 12:29:10 +01:00
configfiles.c
core.h player: add track-list/N/image sub-property 2021-10-14 15:39:07 +00:00
external_files.c player: add thd (TrueHD) to whitelist of audio extensions 2022-01-19 14:00:05 +00:00
external_files.h
javascript.c js: events registration: clarify breakage/fix 2021-12-26 21:00:21 +02:00
loadfile.c player: make deprecated track/chapter/metadata events internal 2021-12-15 12:29:10 +01:00
lua.c lua: remove mp.suspend, resume and resume_all 2021-12-15 12:29:10 +01:00
main.c
misc.c
osd.c
playloop.c player: fix parentheses warning with && 2022-01-18 13:49:19 +00:00
screenshot.c
screenshot.h
scripting.c
sub.c sub: align ytdl-hook secondary subs to the top 2021-08-11 18:15:35 +00:00
video.c {player,video}: remove references to obsolete opengl-cb API 2021-12-15 12:29:10 +01:00