summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-19 18:44:03 +0200
committerwm4 <wm4@nowhere>2018-05-24 19:56:35 +0200
commitb3968ecf05c11cf42c8120be3a1d716c4cc71b5d (patch)
tree63001fbaf2769ff7435d0794df0ee7f8c718f497 /player/command.c
parentdbcd654e612ca32673cf2703758b05700cb87d03 (diff)
downloadmpv-b3968ecf05c11cf42c8120be3a1d716c4cc71b5d.tar.bz2
mpv-b3968ecf05c11cf42c8120be3a1d716c4cc71b5d.tar.xz
input: remove now unused "abort command" and cancel infrastructure
The previous commit removed all uses.
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/player/command.c b/player/command.c
index efd1304720..629ff234e2 100644
--- a/player/command.c
+++ b/player/command.c
@@ -6059,10 +6059,10 @@ const struct mp_cmd_def mp_cmds[] = {
{OPT_FLAGS("flags", v.i, MP_CMD_OPT_ARG, ({"mark", 1}))},
},
{ "quit", cmd_quit, { OPT_INT("code", v.i, MP_CMD_OPT_ARG) },
- .priv = &(const bool){0}, .is_abort = true },
+ .priv = &(const bool){0} },
{ "quit-watch-later", cmd_quit, { OPT_INT("code", v.i, MP_CMD_OPT_ARG) },
- .priv = &(const bool){1}, .is_abort = true },
- { "stop", cmd_stop, .is_abort = true },
+ .priv = &(const bool){1} },
+ { "stop", cmd_stop, },
{ "frame-step", cmd_frame_step, .allow_auto_repeat = true,
.on_updown = true },
{ "frame-back-step", cmd_frame_back_step, .allow_auto_repeat = true },
@@ -6071,14 +6071,14 @@ const struct mp_cmd_def mp_cmds[] = {
OPT_CHOICE("flags", v.i, MP_CMD_OPT_ARG, ({"weak", 0},
{"force", 1})),
},
- .is_soft_abort = true, .priv = &(const int){1},
+ .priv = &(const int){1},
},
{ "playlist-prev", cmd_playlist_next_prev,
{
OPT_CHOICE("flags", v.i, MP_CMD_OPT_ARG, ({"weak", 0},
{"force", 1})),
},
- .is_soft_abort = true, .priv = &(const int){-1},
+ .priv = &(const int){-1},
},
{ "playlist-shuffle", cmd_playlist_shuffle, },
{ "sub-step", cmd_sub_step_seek, { OPT_INT("skip", v.i, 0) },