From b3cdf34fbc1b3419a92f7b55144d90f376387865 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Mon, 11 Dec 2017 13:13:38 +0100 Subject: [PATCH] Respond more correctly to failed HLS requests --- src/output/output_hls.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/output/output_hls.cpp b/src/output/output_hls.cpp index 6fc3125b..143ea543 100644 --- a/src/output/output_hls.cpp +++ b/src/output/output_hls.cpp @@ -159,7 +159,7 @@ namespace Mist { } if (H.url.find("hls") == std::string::npos){ - myConn.close(); + onFail(); return; } @@ -177,6 +177,7 @@ namespace Mist { initialize(); if (!keepGoing()){ + onFail(); return; }