diff options
author | Max Kellermann <max@duempel.org> | 2009-10-11 23:14:16 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-10-11 23:14:16 +0200 |
commit | a1d868eb56bab5063f367e392624e3b3de5ea4d3 (patch) | |
tree | 1f0c1b3792770bff6493cd7ef47158106181a189 | |
parent | af92b1c2d815befec7bd9541e76c5402bcbf05c4 (diff) | |
download | mpd-a1d868eb56bab5063f367e392624e3b3de5ea4d3.tar.gz mpd-a1d868eb56bab5063f367e392624e3b3de5ea4d3.tar.xz mpd-a1d868eb56bab5063f367e392624e3b3de5ea4d3.zip |
decoder_thread: change the fallback decoder name to "mad"
When there is no Content-Type response header, try the "mad" decoder
plugin. It uesd to be named "mp3", and we forgot to change the
fallback name in decoder_thread.c.
Diffstat (limited to '')
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/decoder_thread.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ ver 0.15.5 (2009/??/??) * input: - curl: don't abort if a packet has only metadata +* decoder_thread: change the fallback decoder name to "mad" ver 0.15.4 (2009/10/03) diff --git a/src/decoder_thread.c b/src/decoder_thread.c index 2b1a6299a..d6ff058ec 100644 --- a/src/decoder_thread.c +++ b/src/decoder_thread.c @@ -169,7 +169,7 @@ static void decoder_run_song(const struct song *song, const char *uri) if (plugin == NULL) { /* we already know our mp3Plugin supports streams, no * need to check for stream{Types,DecodeFunc} */ - if ((plugin = decoder_plugin_from_name("mp3"))) { + if ((plugin = decoder_plugin_from_name("mad"))) { ret = decoder_stream_decode(plugin, &decoder, &input_stream); } |