diff options
author | Max Kellermann <max@duempel.org> | 2010-11-05 19:24:42 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-11-05 19:24:42 +0100 |
commit | 83ec0e55523b05c724dcf8ef68839e04d4911396 (patch) | |
tree | 2864c8209280970071d39399d7457e7790ba58e5 /src/playlist | |
parent | cc261872c25be3a5792be8ae160e070d1bbedf0b (diff) | |
download | mpd-83ec0e55523b05c724dcf8ef68839e04d4911396.tar.gz mpd-83ec0e55523b05c724dcf8ef68839e04d4911396.tar.xz mpd-83ec0e55523b05c724dcf8ef68839e04d4911396.zip |
player_thread: fix assertion failure due to wrong music pipe on seek
When one song is played twice, and the decoder is working on the
second "instance", but the first should be seeked, the check in
player_seek_decoder() may assume that it can reuse the decoder without
exchanging pipes. The last thing was the mistake: the pipe pointer
was different, which led to an assertion failure. This patch adds
another check which exchanges the player pipe.
Diffstat (limited to 'src/playlist')
0 files changed, 0 insertions, 0 deletions