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; }