summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-09-16 16:31:10 +0200
committerMax Kellermann <max@musicpd.org>2020-09-16 16:32:31 +0200
commit43e230f543c16c1b46ed3a892c8732b7a801e941 (patch)
tree2770185349cb64a72059774d7fafe66b46c216ea
parentb2ae5298a765f83dd142564adfdcaf5b2d34ff52 (diff)
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
-rw-r--r--NEWS1
-rw-r--r--src/input/plugins/FfmpegInputPlugin.cxx1
2 files changed, 1 insertions, 1 deletions
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://",