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.
This commit is contained in:
Max Kellermann
2010-01-16 19:20:11 +01:00
parent 777bd7c1e1
commit 90d16af66a
2 changed files with 11 additions and 5 deletions
+1
View File
@@ -4,6 +4,7 @@ ver 0.15.8 (2009/??/??)
* decoders:
- ffmpeg, flac, vorbis: added more flac/vorbis MIME types
* dbUtils: return empty tag value only if no value was found
* decoder_thread: fix CUE track playback
ver 0.15.7 (2009/12/27)