summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-09-16 16:33:01 +0200
committerMax Kellermann <max@musicpd.org>2020-09-16 16:36:07 +0200
commite10b867fe6ffbac1ac37a333dbd69597e4fc9f03 (patch)
tree17db8c3cf63629594b7d2ad06ac24d6d33bd31ea
parent43e230f543c16c1b46ed3a892c8732b7a801e941 (diff)
decoder/ffmpeg: add "hls+http://" to the list of supported protocols
-rw-r--r--NEWS1
-rw-r--r--src/input/plugins/FfmpegInputPlugin.cxx2
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 165bdb942..f00ba7a79 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,7 @@ ver 0.21.26 (not yet released)
- zzip: fix crash on corrupt ZIP file
* decoder
- ffmpeg: remove "rtsp://" from the list of supported protocols
+ - ffmpeg: add "hls+http://" to 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 3cb8bd151..9bdaa9373 100644
--- a/src/input/plugins/FfmpegInputPlugin.cxx
+++ b/src/input/plugins/FfmpegInputPlugin.cxx
@@ -139,6 +139,8 @@ FfmpegInputStream::Seek(offset_type new_offset)
static constexpr const char *ffmpeg_prefixes[] = {
"gopher://",
+ "hls+http://",
+ "hls+https://",
"rtp://",
"rtmp://",
"rtmpt://",