mpv/player
Guido Cella a61518db98 player/client: reduce log level for hooks not sent to clients
If a hook event can't be sent to a client because it no longer exists,
stop logging it as a warning, as there is no way for a client to remove
hooks, so it is expected that the hook can't be sent. This is documented
in libmpv/client.h.

If the hook event can't be sent for other reasons, like the event queue
being full (currently the only other possible reason), keep logging as
warning.

Also add the client and hook type to the message. They are also logged
just above, but only in verbose mode, so when only the warning is logged
you didn't see the client before.

auto_profiles.lua logs these warning since 5dc4047415, and this commit
fixes that.

Fixes #15244.
2024-11-03 20:03:49 +02:00
..
javascript input.lua,defaults.js: don't hardcode mp.input arguments 2024-10-04 21:13:29 +03:00
lua auto_profiles.lua: actually exit when no auto profiles are defined 2024-11-02 14:03:02 +02:00
audio.c audio: add pitch-shifting feature 2024-08-07 22:56:17 +02:00
client.c various: remove global.h inclusion where not needed 2024-10-01 12:23:44 +02:00
client.h
command.c player/client: reduce log level for hooks not sent to clients 2024-11-03 20:03:49 +02:00
command.h command: print lang in track-list 2024-10-24 17:39:46 +02:00
configfiles.c player: don't load encoding mode profile twice 2024-10-31 16:43:25 +01:00
core.h player: make redraw_sub flag work on a per track basis 2024-10-16 02:26:06 +00:00
external_files.c player/external_files: fix null deref when cover-art-whitelist is empty 2024-09-29 22:56:40 +02:00
external_files.h misc/language: move mp_guess_lang_from_filename() here 2024-05-10 01:22:31 +02:00
javascript.c player/javascript: disable stream error logging 2024-10-22 03:16:51 +03:00
loadfile.c player/loadfile: limit playlist size to 10 for fuzzing 2024-11-02 01:40:41 +01:00
lua.c lua: remove unused #define mp_lua_len 2024-09-26 16:45:08 +02:00
main.c player: don't load encoding mode profile twice 2024-10-31 16:43:25 +01:00
misc.c various: remove global.h inclusion where not needed 2024-10-01 12:23:44 +02:00
osd.c player/osd: don't add newlines when message would be empty anyway 2024-10-21 20:06:48 +02:00
playloop.c player: move a redraw_subs edgecase to loadfile 2024-10-16 02:26:06 +00:00
screenshot.c various: remove global.h inclusion where not needed 2024-10-01 12:23:44 +02:00
screenshot.h
scripting.c player/scripting: remove outdated comment about posix_spawn 2024-07-29 21:00:48 +02:00
sub.c player: make redraw_sub flag work on a per track basis 2024-10-16 02:26:06 +00:00
video.c player/audio: invert audio_started boolean 2024-08-01 11:45:13 +00:00