From f6ddec3389d81b2f82d71f22b2ba78226203281e Mon Sep 17 00:00:00 2001 From: chme Date: Fri, 30 Nov 2018 15:41:28 +0100 Subject: [PATCH] [player] On pause the current streaming item needs to be stopped, if it is not the current playing item. This happens if the input already switched to the next item in the queue starting to stream it to the outputs (2 second buffer) while the outputs are still playing the last seconds of the old item. --- src/player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/player.c b/src/player.c index 63e88e34..9a0ee1c4 100644 --- a/src/player.c +++ b/src/player.c @@ -593,7 +593,7 @@ source_pause(uint64_t pos) if (!ps_playing) return -1; - if (cur_streaming && (cur_streaming == ps_playing)) + if (cur_streaming) { if (ps_playing != cur_streaming) {