- 05 Nov, 2018 1 commit
-
-
Max Kellermann authored
Meson always enables large file support on the compiler command line, thus config.h doesn't need to be included anymore. We'll remove the whole `check.h` header soon. Closes #409
-
- 04 Nov, 2018 19 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
`AVCodecParameters` contains values from the codec detected by avformat_find_stream_info(), but after avcodec_open2(), a different codec might be selected with a different `AVSampleFormat`. This leads to misinterpretation of data returned from FFmpeg, leading to random noise or silence. This was observed with FFmpeg 4.0.2 and a TS container file containing MP2. A mp3-float codec was detected returning `AV_SAMPLE_FMT_FLTP`, but finally the `mpegaudiodec_fixed.c` was used, returning `AV_SAMPLE_FMT_S16`. By using the audio format from `AVCodecContext`, we ensure that MPD and FFmpeg always agree on the actual audio format in the buffer. This removes the FFmpeg bug workaround from commit e1b032cb which I assume is obsolete after 7 years. Fixes #380
-
Max Kellermann authored
-
Max Kellermann authored
Drop some compatibility code.
-
Max Kellermann authored
-
Max Kellermann authored
-
Fabian Muscariello authored
-
Max Kellermann authored
The protocol documentation says that the difference between `find` and `search` is that `search` is case insensitive, but that's only half the truth: `search` also searches for sub strings instead of matching the whole string. This part is undocumented and unfortunate, but at this point, we can't change it. However leaking this surprising behavior to the new filter expressions was a bad idea; the "==" operator should never match substrings. For people who need that, we should add a new operator.
-
Max Kellermann authored
Prepare to stop using substrings for filter expressions.
-
Max Kellermann authored
-
Max Kellermann authored
Some Boost 1.67 packages apparently have a workaround for the bug, so let them build MPD.
-
Max Kellermann authored
-
Max Kellermann authored
Without the Vorbis decoder, `libvorbis` is never detected, leading to linker failures when attempting to build the Vorbis encoder.
-
Max Kellermann authored
Closes #399
-
Max Kellermann authored
Meson 0.47.1 suffers from a bug which breaks linking the MPD executable because the `-lpthread` flag is not propagated from our `thread.a`. See https://github.com/mesonbuild/meson/pull/3895 Closes #403
-
Max Kellermann authored
Fixes linker failure when building without FLAC support. Closes #400
-
Max Kellermann authored
`HOST_NAME_MAX` is not a portable macro; it is undefined on some systems. Closes #402
-
Max Kellermann authored
Fixes #404
-
Max Kellermann authored
Fixes one part of #404
-
- 02 Nov, 2018 5 commits
-
-
Max Kellermann authored
Closes #397
-
Max Kellermann authored
Closes #396
-
Max Kellermann authored
Thanks to C++14, we can declare and fill variables inside `constexpr` functions. This means me can stop make assumptions on the `struct` layouts without losing `constexpr`. Closes #393
-
Max Kellermann authored
`__linux` is the deprecated non-standard macros which appears to be not present at all on PowerPC. Closes #398
-
Max Kellermann authored
-
- 01 Nov, 2018 4 commits
-
-
-
Max Kellermann authored
Apparently, Meson propagates the linker flags but not the compiler flags from a `static_library`'s dependencies list. Closes #392
-
Jörg Krause authored
-
Max Kellermann authored
-
- 31 Oct, 2018 11 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
std::regex_replace() is heavily bloated and overkill for this feature.
-
Max Kellermann authored
-
-
Max Kellermann authored
Closes #389
-
Max Kellermann authored
-
Max Kellermann authored
-
Florian Schlichting authored
expand %h to the system hostname and default to a zeroconf string that contains %h
-