summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-06 17:17:22 +0200
committerwm4 <wm4@nowhere>2014-06-06 17:17:22 +0200
commita854583b57b62f1b5106966f395375e192686a68 (patch)
tree154b4bb6afc7b3a870431fdf80c7d924958cbca9
parentaafc03aab39f607b1dc201371ccf481f89636123 (diff)
downloadmpv-a854583b57b62f1b5106966f395375e192686a68.tar.bz2
mpv-a854583b57b62f1b5106966f395375e192686a68.tar.xz
input: don't print warning when aboting playback via commands
I don't really see a reason for this.
-rw-r--r--input/input.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/input/input.c b/input/input.c
index 44360e05ec..adc4e048ff 100644
--- a/input/input.c
+++ b/input/input.c
@@ -1627,12 +1627,7 @@ void mp_input_wakeup_nolock(struct input_ctx *ictx)
static bool test_abort(struct input_ctx *ictx)
{
- if (async_quit_request || queue_has_abort_cmds(&ictx->cmd_queue)) {
- MP_WARN(ictx, "Received command to move to another file. "
- "Aborting current processing.\n");
- return true;
- }
- return false;
+ return async_quit_request || queue_has_abort_cmds(&ictx->cmd_queue);
}
void mp_input_set_main_thread(struct input_ctx *ictx)