mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
[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.
This commit is contained in:
parent
357d346fce
commit
f6ddec3389
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user