summaryrefslogtreecommitdiffstats
path: root/input/cmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'input/cmd.h')
-rw-r--r--input/cmd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/input/cmd.h b/input/cmd.h
index 0f74424f87..a2cbaae510 100644
--- a/input/cmd.h
+++ b/input/cmd.h
@@ -58,6 +58,9 @@ struct mp_cmd_def {
// asynchronous abort of the command, and explicitly uses mp_cmd_ctx.abort.
// (Not setting it when it's not needed can save resources.)
bool can_abort;
+ // If playback ends, and the command is still running, an abort is
+ // automatically triggered.
+ bool abort_on_playback_end;
};
enum mp_cmd_flags {