decoder/List: prefer "mpg123" over "mad"
libmad hasn't been maintained for many many years, while libmpg123 is still maintained. Our "mad" plugin can't do streams, but MPD will automatically fall back to "mad" (or "ffmpeg") for streams. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1954
This commit is contained in:
parent
b6afdf1201
commit
65e5a43e46
1
NEWS
1
NEWS
|
@ -31,6 +31,7 @@ ver 0.24 (not yet released)
|
||||||
- ffmpeg: require FFmpeg 4.0 or later
|
- ffmpeg: require FFmpeg 4.0 or later
|
||||||
- ffmpeg: query supported demuxers at runtime
|
- ffmpeg: query supported demuxers at runtime
|
||||||
- hybrid_dsd: remove
|
- hybrid_dsd: remove
|
||||||
|
- mpg123: prefer over "mad"
|
||||||
- opus: implement bitrate calculation
|
- opus: implement bitrate calculation
|
||||||
- sidplay: require libsidplayfp (drop support for the original sidplay)
|
- sidplay: require libsidplayfp (drop support for the original sidplay)
|
||||||
- wavpack: require libwavpack version 5
|
- wavpack: require libwavpack version 5
|
||||||
|
|
|
@ -40,12 +40,12 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
constinit const struct DecoderPlugin *const decoder_plugins[] = {
|
constinit const struct DecoderPlugin *const decoder_plugins[] = {
|
||||||
#ifdef ENABLE_MAD
|
|
||||||
&mad_decoder_plugin,
|
|
||||||
#endif
|
|
||||||
#ifdef ENABLE_MPG123
|
#ifdef ENABLE_MPG123
|
||||||
&mpg123_decoder_plugin,
|
&mpg123_decoder_plugin,
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef ENABLE_MAD
|
||||||
|
&mad_decoder_plugin,
|
||||||
|
#endif
|
||||||
#ifdef ENABLE_VORBIS_DECODER
|
#ifdef ENABLE_VORBIS_DECODER
|
||||||
&vorbis_decoder_plugin,
|
&vorbis_decoder_plugin,
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue