- 06 Jul, 2020 1 commit
-
-
Max Kellermann authored
Bug #915 is about an I/O exception thrown where none was allowed, leading to crash via std::terminate(). However, instead of catching and logging the error inside the decoder plugin, it should be able to propagate the I/O error to the MPD core, so MPD can avoid trying other decoder plugins. Closes https://github.com/MusicPlayerDaemon/MPD/issues/915
-
- 01 Apr, 2020 1 commit
-
-
Max Kellermann authored
This reverts commit eb192137. This is no longer necessary because we require FFmpeg 3.1 or newer since MPD 0.21.2. This fixes a deprecation warning because the implicit AVPacket copy constructor copies the deprecated attribute `convergence_duration`.
-
- 12 Mar, 2020 1 commit
-
-
Rosen Penev authored
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 04 Feb, 2020 2 commits
-
-
Max Kellermann authored
-
Rosen Penev authored
Found with bugprone-suspicious-missing-comma Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 01 Feb, 2020 1 commit
-
-
Rosen Penev authored
-
- 18 Jan, 2020 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 05 Jul, 2019 1 commit
-
-
Max Kellermann authored
-
- 17 Jun, 2019 1 commit
-
-
Max Kellermann authored
-
- 15 Jun, 2019 1 commit
-
-
Max Kellermann authored
Add a `constexpr` constructor and several `constexpr` methods to construct a DecoderPlugin at compile time, in a way which allows adding new methods later without having to edit each plugin.
-
- 18 Mar, 2019 1 commit
-
-
Max Kellermann authored
-
- 13 Mar, 2019 1 commit
-
-
Max Kellermann authored
-
- 12 Mar, 2019 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Don't catch and log exceptions. Let the caller handle the error.
-
Max Kellermann authored
-
- 19 Nov, 2018 1 commit
-
-
Max Kellermann authored
Since we switched from autotools to Meson in commit 94592c14, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
-
- 04 Nov, 2018 4 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.
-
- 31 Oct, 2018 1 commit
-
-
Max Kellermann authored
-
- 09 Aug, 2018 1 commit
-
-
Max Kellermann authored
-
- 02 Aug, 2018 1 commit
-
-
Max Kellermann authored
This is the version in Debian Jessie (oldstable).
-
- 24 Jul, 2018 1 commit
-
-
Max Kellermann authored
This is kind of a revert of commit b2e3c075, which is not any longer necessary since commit 0dd4b52b removed the last call to `av_open_input_stream()`.
-
- 07 Jul, 2018 1 commit
-
-
Max Kellermann authored
-
- 05 Jul, 2018 1 commit
-
-
Max Kellermann authored
-
- 21 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 19 Dec, 2017 1 commit
-
-
Max Kellermann authored
-
- 12 Nov, 2017 1 commit
-
-
Max Kellermann authored
Work around -Werror=catch-value.
-
- 10 Nov, 2017 1 commit
-
-
Max Kellermann authored
-
- 18 Sep, 2017 1 commit
-
-
Charlie Waters authored
ffmpeg plugin: when decoded stream duration is unavailable, attempt fallback to container duration (fix MusicPlayerDaemon/MPD#110)
-
- 03 Jun, 2017 1 commit
-
-
Jörg Raftopoulos authored
Add ffmpeg decoder support for *.adx files (Sega game console) Closes #60
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 08 Feb, 2017 1 commit
-
-
Max Kellermann authored
-
- 10 Jan, 2017 1 commit
-
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 13 Dec, 2016 1 commit
-
-
Max Kellermann authored
From the avformat_open_input() API documentation: "Note that a user-supplied AVFormatContext will be freed on failure." https://bugs.musicpd.org/view.php?id=4607
-
- 18 Nov, 2016 1 commit
-
-
Max Kellermann authored
Replaces decoder_data() and others.
-