- 08 Jul, 2022 2 commits
-
-
Max Kellermann authored
This disables a long delay for playing songs from the cdio_paranoia input plugin if ReplayGain is enabled.
-
Max Kellermann authored
-
- 07 May, 2022 2 commits
-
-
BurroCargado authored
This issue occurs when playing HLS streaming delivered from a server that does not support partial requests. The issue is reproduced as follows(using Ubuntu 20.04 PC): 1. Prepare HLS example content. $ mkdir test $ ffmpeg -i example.flac -vn -c:a aac -b:a 128000 -f hls -hls_list_size 0 test/output.m3u8 (ffmpeg 4.2.4 is used) 2. Prepare web server without partial requests support. (Docker version 20.10.12 and NGINX official Docker image is used) $ docker run --name tmp-nginx-container -d nginx $ docker cp tmp-nginx-container:/etc/nginx/conf.d/default.conf . $ docker rm -f tmp-nginx-container Edit default.conf and add "max_ranges 0;" to "location / {...}". This disables partial requests support, removes 'Accept-Ranges: bytes' header from the server response. Then, run the server: $ docker run --name test-nginx -v $PWD/test:/usr/share/nginx/html:ro -v $PWD/default.conf:/etc/nginx/conf.d/default.conf -d -p 8080:80 nginx 3. Setup MPD to Play the next URL. http://address-of-the-server:8080/output.m3u8 Seeking this stream results in "exception: Not seekable".
-
BurroCargado authored
AVFMTCTX_UNSEEKABLE signals the stream is not seekable according to FFmpeg source code description: https://github.com/FFmpeg/FFmpeg/blob/8e98dfc57fd05c49095dd964456a7acbb6da634c/libavformat/avformat.h#L1181
-
- 26 Apr, 2022 1 commit
-
-
Max Kellermann authored
Fixes part 1 of https://github.com/MusicPlayerDaemon/MPD/issues/1490
-
- 14 Mar, 2022 2 commits
-
-
nick black authored
ffmpeg from current git master no longer exposes av_malloc() nor av_free() through other included headers. directly include libavutil/mem.h to fix compilation with (as-yet-unreleased) ffmpeg.
-
Max Kellermann authored
This part of the AVIOContext API is not documented :-( Closes https://github.com/MusicPlayerDaemon/MPD/issues/1448
-
- 26 Jan, 2022 1 commit
-
-
Max Kellermann authored
Don't return early from ScanOpusTags() if only TagHandler::WantPicture() is set. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1413
-
- 03 Dec, 2021 1 commit
-
-
Max Kellermann authored
-
- 01 Dec, 2021 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Fixes MixRamp failures when a MP3 file has two ID3 tags, one of them without MixRamp.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 12 Nov, 2021 2 commits
-
-
Rosen Penev authored
Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
SonarLint reports the latter to be better: std::scoped_lock basically provides the same feature as std::lock_guard, but is more generic: It can lock several mutexes at the same time, with a deadlock prevention mechanism (see {rule:cpp:S5524}). The equivalent code to perform simultaneous locking with std::lock_guard is significantly more complex. Therefore, it is simpler to use std::scoped_lock all the time, even when locking only one mutex (there will be no performance impact). Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 11 Nov, 2021 1 commit
-
-
Rosen Penev authored
C arrays can be used with make_unique in C++17. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 09 Nov, 2021 1 commit
-
-
Max Kellermann authored
For libavcodec 59 support. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1333
-
- 31 Oct, 2021 1 commit
-
-
Max Kellermann authored
Unlike GetFilenameSuffix(), uri_get_suffix() removes the query string first, which breaks file names with question marks in the name. Therefore, uri_get_suffix() shall only be applied to remote URIs. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1316
-
- 13 Oct, 2021 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
The wrong variable was used. This has been broken by commit 4eeea640 seven years ago - and nobody as noticed, d'oh!
-
Max Kellermann authored
-
- 06 Oct, 2021 1 commit
-
-
Max Kellermann authored
Fixes crash bug.
-
- 08 Sep, 2021 1 commit
-
-
Rosen Penev authored
make_pair is an old C++98 function that can be replaced by modern shorter constructs. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 26 Aug, 2021 2 commits
-
-
Rosen Penev authored
These should be equivalent anyway. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 17 Aug, 2021 2 commits
-
-
Rosen Penev authored
Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with cppcoreguidelines-avoid-non-const-global-variables Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 05 Aug, 2021 2 commits
-
-
Max Kellermann authored
If UpdateStreamTag() gets called while an initial seek is pending, the result will never be submitted to a MusicChunk. By avoiding the UpdateStreamTag() call in that case (by moving UpdateStreamTag() to after the PrepareInitialSeek() check), the song_tag is preserved until UpdateStreamTag() is called again from SubmitData(). This fixes missing tags in the "httpd" output. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1137
-
Max Kellermann authored
-
- 30 Jul, 2021 1 commit
-
-
Max Kellermann authored
-
- 28 Jul, 2021 1 commit
-
-
Sam Bazley authored
-
- 25 Jun, 2021 1 commit
-
-
Max Kellermann authored
-
- 24 Jun, 2021 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 31 May, 2021 3 commits
-
-
Max Kellermann authored
av_demuxer_iterate() was added in libavformat 58.9.100. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1178
-
Max Kellermann authored
-
Rosen Penev authored
Found with cppcoreguidelines-special-member-functions Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 27 May, 2021 1 commit
-
-
GrimReaperFloof authored
-