[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:
chme 2018-11-30 15:41:28 +01:00
parent 357d346fce
commit f6ddec3389

View File

@ -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)
{