Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 5dc4047, and this commit fixes that. Fixes mpv-player#15244.
- Loading branch information