summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-25test/run_filter: check for partial writesMax Kellermann
2019-03-25test/run_filter: move code to WriteOrThrow()Max Kellermann
2019-03-25test/run_filter: use class FileDescriptorMax Kellermann
2019-03-25Merge branch 'v0.21.x'Max Kellermann
2019-03-24filter/AutoConvert: implement Flush()Max Kellermann
2019-03-24filter/Filter: fix typo in API docMax Kellermann
2019-03-24filter/ffmpeg: use only one AVFrameMax Kellermann
The two were never used at the same time, and merging them saves one allocation.
2019-03-24filter/ffmpeg: use av_buffersrc_add_frame() instead of ↵Max Kellermann
av_buffersrc_write_frame() This transfers ownership of the buffer instead of adding another reference.
2019-03-24filter/ffmpeg: call av_frame_unref() before av_buffersink_get_frame()Max Kellermann
Fix another memory leak. Closes https://github.com/MusicPlayerDaemon/MPD/issues/514
2019-03-24filter/ffmpeg: remove unnecessary av_frame_make_writable() callMax Kellermann
A newly allocated buffer doesn't need this call; it only adds overhead for copying the data.
2019-03-24filter/ffmpeg: call av_frame_unref() before av_frame_get_buffer()Max Kellermann
av_frame_get_buffer() leaks memory if buffers were already allocated. Fixes one of the memory leaks of https://github.com/MusicPlayerDaemon/MPD/issues/514
2019-03-24lib/ffmpeg/Frame: add av_frame_unref() wrapperMax Kellermann
2019-03-21Merge branch 'v0.21.x'Max Kellermann
2019-03-21doc/plugins.rst: fix filter/ffmpeg descriptionMax Kellermann
2019-03-20test/RunChromaprint: add missing `override`Max Kellermann
2019-03-20lib/ffmpeg/IOContext: keep using avio_read() with old libavformat versionsMax Kellermann
avio_read_partial() was added in libavformat 57.81.100, and we keep compatibility with version 57.40 for now. Fixes regression from commit bfb7b0117fb4d Closes https://github.com/MusicPlayerDaemon/MPD/issues/511
2019-03-20event/ServerSocket: runtime error if abstract sockets are unavailableMax Kellermann
2019-03-20event/ServerSocket: add HAVE_UN check to AddAbstract()Max Kellermann
Closes https://github.com/MusicPlayerDaemon/MPD/issues/510
2019-03-20event/ServerSocket, doc, ...: refer to AF_LOCAL as "local socket"Max Kellermann
.. and not "UNIX domain socket. Be consistent about the naming.
2019-03-18tag/Chromaprint: relicense as BSD-2Max Kellermann
2019-03-18filter/ffmpeg: new filter pluginMax Kellermann
2019-03-18filter/hdcd: include cleanupMax Kellermann
2019-03-18filter/hdcd: move generic code to class FfmpegFilterMax Kellermann
2019-03-18filter/hdcd: fix typoMax Kellermann
2019-03-18doc/plugins.rst: document the new "hdcd" filter pluginMax Kellermann
2019-03-18Merge branch 'v0.21.x'Max Kellermann
2019-03-18doc/plugins.rst: add the Haiku plugin and mark it as unmaintainedMax Kellermann
2019-03-18doc/plugins.rst: add filter plugin referenceMax Kellermann
2019-03-18doc/user.rst: document the "filters" settingMax Kellermann
2019-03-18doc/user.rst: add more linksMax Kellermann
2019-03-18filter/hdcd: new filter plugin based on FFmpeg's "af_hdcd"Max Kellermann
2019-03-18filter/plugins/null: move code to src/filter/NullFilter.hxxMax Kellermann
2019-03-18lib/ffmpeg/Filter: add MakeAudioBuffer{Source,Sink}()Max Kellermann
2019-03-18lib/ffmpeg/Filter: add missing includeMax Kellermann
2019-03-18lib/ffmpeg/SampleFormat: add ToFfmpegSampleFormat()Max Kellermann
2019-03-18decoder/ffmpeg: move code to lib/ffmpeg/SampleFormat.hxxMax Kellermann
2019-03-18lib/ffmpeg/Filter: C+++ wrapper for several libavfilter objectsMax Kellermann
2019-03-18lib/ffmpeg/meson.build: detect libavfilterMax Kellermann
2019-03-18lib/ffmpeg/Frame: add more wrapper methodsMax Kellermann
2019-03-18Merge branch 'v0.21.x'Max Kellermann
2019-03-18win32/res/meson.build: drop tilde suffix from version number before splittingMax Kellermann
MPD sometimes uses version numbers like "0.22~git" to mark unreleased versions. That makes the win32 resource compiler unhappy, because it expects numbers only.
2019-03-18src/lib/gcrypt/meson.build: use dependency() for quering linker flagsJörg Krause
Since version 0.49.0 the Meson build system has native support for finding and using the gcrypt library using the `dependency()` function. `dependency()` has the advantage over `find_library()` as it queries the required linker flags for proper linking with external libraries, e.g. libgpg-error. As the latest released version 1.8.4 of libgcrypt does not provide a .pc file, using `libgcrypt-config` is the only way to query the required linker flags. Unfortunately, there is an issue when cross compiling mpd and the user does not define `libgcrypt-config` in the cross file. If the user sets the qobuz feature to `auto` and the target does not have libgcrypt installed, the Meson build system will falsly assume libgcrypt is available for the target as it uses the native `libgcrypt-config` on the host and pretend is has found the library. Therefore, we still rely on `find_library()` to workaround this buggy behavior. This way, if qobuz feature detection is set to `auto`, the feature is disabled in case there is no target libgcrypt available. Fixes building mpd statically with the qobuz feature enabled. Otherwise the build fails with undefined references because of the missing libgpg-error dependency: ``` /sysroot/usr/lib/libgcrypt.a(libgcrypt_la-visibility.o): In function `gcry_strerror': visibility.c:(.text+0x14): undefined reference to `gpg_strerror' ```
2019-03-18meson.build: require Meson 0.49.0Jörg Krause
Meson 0.49.0 adds native support for `libgcrypt-config` which is necessary for detecting libgcrypt dependencies, as the latest version 1.8.4 of libgcrypt does not provide a .pc file.
2019-03-18increment version number to 0.21.7Max Kellermann
2019-03-17Merge tag 'v0.21.6'Max Kellermann
release v0.21.6
2019-03-17release v0.21.6v0.21.6Max Kellermann
2019-03-17PlaylistFile: ignore empty playlist namesMax Kellermann
Closes https://github.com/MusicPlayerDaemon/MPD/issues/465 and https://github.com/MusicPlayerDaemon/MPD/pull/466
2019-03-17lib/xiph: disable Tremor detection if libvorbis was foundMax Kellermann
And disable libvorbis detection if Tremor was explicitly enabled. This fixes a crash bug caused by libvorbis/Tremor ABI conflict caused by commit 4f7d52dbf2eaee15a517363c846650d76f45739f
2019-03-17decoder/ogg: ignore the BOS packet after seek to the beginning of songMax Kellermann
Previously, MPD would skip the current song after attempting to seek to its beginnig, because that was a seek to offset 0. At offset 0, MPD will see the BOS packet again, which results in throwing StopDecoder in MPDOpusDecoder::OnOggEnd(). Closes https://github.com/MusicPlayerDaemon/MPD/issues/470
2019-03-17output/sles: enable power saving modeMax Kellermann