From e10b867fe6ffbac1ac37a333dbd69597e4fc9f03 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 16 Sep 2020 16:33:01 +0200 Subject: [PATCH] decoder/ffmpeg: add "hls+http://" to the list of supported protocols --- NEWS | 1 + src/input/plugins/FfmpegInputPlugin.cxx | 2 ++ 2 files changed, 3 insertions(+) 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://",