diff options
author | Max Kellermann <max@duempel.org> | 2010-01-16 19:20:11 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-01-16 19:20:11 +0100 |
commit | 90d16af66adfe1ef9d3fc07fe7b238f3c02adaaf (patch) | |
tree | 875b1434df81666531be0013527e33986a5e0a43 /src/playlist_state.h | |
parent | 777bd7c1e175740a6ac9eb2f70c449c50e425f41 (diff) | |
download | mpd-90d16af66adfe1ef9d3fc07fe7b238f3c02adaaf.tar.gz mpd-90d16af66adfe1ef9d3fc07fe7b238f3c02adaaf.tar.xz mpd-90d16af66adfe1ef9d3fc07fe7b238f3c02adaaf.zip |
decoder_thread: fix CUE track playback
The patch "input/file: don't fall back to parent directory" introduced
a regression: when trying to play a CUE track, decoder_run_song()
tries to open the file as a stream first, but this fails, because the
path is virtual.
This patch fixes decoder_run_song() (instead of reverting the previous
patch) to accept input_stream_open() failures if the song is a local
file. It passes the responsibility to handle non-existing files to
the decoder's file_decode() method.
Diffstat (limited to 'src/playlist_state.h')
0 files changed, 0 insertions, 0 deletions