mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-26 12:59:19 -05:00
[input] Forgot to not timeout if player actually did read
This commit is contained in:
parent
1b0892a53a
commit
ca56ac25ed
@ -498,6 +498,11 @@ stop_cmd(void *arg, int *retval)
|
||||
static void
|
||||
timeout_cb(int fd, short what, void *arg)
|
||||
{
|
||||
if (input_buffer.bytes_read > 0)
|
||||
return;
|
||||
|
||||
DPRINTF(E_WARN, L_PLAYER, "Timed out after %d sec without any reading from input source\n", INPUT_OPEN_TIMEOUT);
|
||||
|
||||
stop();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user