From d2b020072ccdb8bcfa77582e9576a06236226843 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Tue, 16 May 2017 15:42:13 +0200 Subject: [PATCH] Fixed a few config semaphore locks in Pro edition --- lib/stream.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/stream.cpp b/lib/stream.cpp index 579dc773..0d6bbd0b 100644 --- a/lib/stream.cpp +++ b/lib/stream.cpp @@ -167,6 +167,7 @@ bool Util::startInput(std::string streamname, std::string filename, bool forkFir } /*LTS-START*/ if (config.getMember("hardlimit_active")) { + configLock.post();//unlock the config semaphore return false; } /*LTS-END*/ @@ -180,10 +181,12 @@ bool Util::startInput(std::string streamname, std::string filename, bool forkFir /*LTS-START*/ if (!filename.size()){ if (stream_cfg && stream_cfg.getMember("hardlimit_active")) { + configLock.post();//unlock the config semaphore return false; } if(Triggers::shouldTrigger("STREAM_LOAD", smp)){ if (!Triggers::doTrigger("STREAM_LOAD", streamname, smp)){ + configLock.post();//unlock the config semaphore return false; } }