It is used in play loop to check if playback ended cleanly. Don't allow set_property to disable idle.
Unified · Split
| @@ -84,6 +84,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) · 83 unmodified lines | |||
| 84 | check_error(mpv_set_option_string(ctx, "pause", "no")); | 84 | check_error(mpv_set_option_string(ctx, "pause", "no")); |
| 85 | check_error(mpv_set_option_string(ctx, "untimed", "yes")); | 85 | check_error(mpv_set_option_string(ctx, "untimed", "yes")); |
| 86 | check_error(mpv_set_option_string(ctx, "sstep", "0")); | 86 | check_error(mpv_set_option_string(ctx, "sstep", "0")); |
| 87 | check_error(mpv_set_option_string(ctx, "idle", "yes")); | ||
| 87 | 88 | ||
| 88 | mpv_node node = { | 89 | mpv_node node = { |
| 89 | .format = MPV_FORMAT_NODE_ARRAY, | 90 | .format = MPV_FORMAT_NODE_ARRAY, |