• Max Kellermann's avatar
    decoder_thread: fix CUE track playback · 90d16af6
    Max Kellermann authored
    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.
    90d16af6
decoder_thread.c 7.06 KB