From 2dd819705dcbeb4a20c0d6123082f9662cfa2ae4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 13 Sep 2014 14:10:10 +0200 Subject: input: "quit_watch_later" and "stop" are abort commands This means they get special handling for asynchronously aborting playback, even if the player is "stuck". Also document "stop". It seems somewhat useful for client API users (although that will be implemented properly only in the following commits.) --- input/cmd_list.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'input') diff --git a/input/cmd_list.c b/input/cmd_list.c index 96e9d91f16..88e5b78f91 100644 --- a/input/cmd_list.c +++ b/input/cmd_list.c @@ -255,6 +255,8 @@ static bool is_abort_cmd(int cmd_id) { switch (cmd_id) { case MP_CMD_QUIT: + case MP_CMD_QUIT_WATCH_LATER: + case MP_CMD_STOP: case MP_CMD_PLAYLIST_NEXT: case MP_CMD_PLAYLIST_PREV: return true; -- cgit v1.2.3