mirror of
https://github.com/mpv-player/mpv.git
synced 2026-05-07 20:02:49 +00:00
50f3c1c243
Updating input-commands string list causes all commands to be rerun. This happens during load-config-file command, so even with few commands it is easy to amplify single command to run hundreds of times instead of one. This causes timeouts and OOMs when specific command for example reopens current playlist appending an item. Also avoid even single input-commands, we want to test load-config-file parsing and input-commands can do loadfile and trigger heavy code paths. We don't want to mix this. Unfortunately parsing of input-commands will not be tested.