From 43e230f543c16c1b46ed3a892c8732b7a801e941 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 16 Sep 2020 16:31:10 +0200 Subject: [PATCH] decoder/ffmpeg: remove "rtsp://" from the list of supported protocols FFmpeg implements RTSP as a demuxer, not as a protocol handler. Thus, avio_open() cannot be used, and our input plugin cannot handle RTSP. Closes https://github.com/MusicPlayerDaemon/MPD/issues/930 --- NEWS | 1 + src/input/plugins/FfmpegInputPlugin.cxx | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 207c28226..165bdb942 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,7 @@ ver 0.21.26 (not yet released) - iso9660: support seeking - zzip: fix crash on corrupt ZIP file * decoder + - ffmpeg: remove "rtsp://" from the list of supported protocols - sndfile: fix lost samples at end of file ver 0.21.25 (2020/07/06) diff --git a/src/input/plugins/FfmpegInputPlugin.cxx b/src/input/plugins/FfmpegInputPlugin.cxx index 09597e774..3cb8bd151 100644 --- a/src/input/plugins/FfmpegInputPlugin.cxx +++ b/src/input/plugins/FfmpegInputPlugin.cxx @@ -140,7 +140,6 @@ FfmpegInputStream::Seek(offset_type new_offset) static constexpr const char *ffmpeg_prefixes[] = { "gopher://", "rtp://", - "rtsp://", "rtmp://", "rtmpt://", "rtmps://",