From b3968ecf05c11cf42c8120be3a1d716c4cc71b5d Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 19 May 2018 18:44:03 +0200 Subject: input: remove now unused "abort command" and cancel infrastructure The previous commit removed all uses. --- player/command.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'player') 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) }, -- cgit v1.2.3