mirror of https://github.com/mpv-player/mpv
fuzzer_set_property: ensure idle is enabled
It is used in play loop to check if playback ended cleanly. Don't allow set_property to disable idle.
This commit is contained in:
parent
ec40dcca9b
commit
25f441b740
|
@ -84,6 +84,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
|||
check_error(mpv_set_option_string(ctx, "pause", "no"));
|
||||
check_error(mpv_set_option_string(ctx, "untimed", "yes"));
|
||||
check_error(mpv_set_option_string(ctx, "sstep", "0"));
|
||||
check_error(mpv_set_option_string(ctx, "idle", "yes"));
|
||||
|
||||
mpv_node node = {
|
||||
.format = MPV_FORMAT_NODE_ARRAY,
|
||||
|
|
Loading…
Reference in New Issue