decoder/ffmpeg: append file name suffix to virtual stream URL

To allow libavformat to detect the format of the input file, append
the suffix of the input file to the URL of the virtual stream.  This
specifically enables the "shorten" codec, which is supported by
libavformat/raw.c, detected only by the suffix.
This commit is contained in:
Max Kellermann
2010-01-17 02:35:15 +01:00
parent e43bf52cbb
commit 1b441837f1
2 changed files with 29 additions and 4 deletions

1
NEWS
View File

@@ -3,6 +3,7 @@ ver 0.15.8 (2009/??/??)
- curl: allow rewinding with Icy-Metadata
* decoders:
- ffmpeg, flac, vorbis: added more flac/vorbis MIME types
- ffmpeg: enabled libavformat's file name extension detection
* dbUtils: return empty tag value only if no value was found
* decoder_thread: fix CUE track playback
* queue: don't repeat current song in consume mode