From 50eb534417c51433fc6e9d91f19a7b8da54559c1 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Wed, 26 Mar 2014 14:30:29 +0400 Subject: [PATCH] Revert "streamts: put zapit back into standby after streaming" This reverts commit 8c0cb5b96ea791a9bf07e3070ba46a0dff01f152. --- src/driver/streamts.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/driver/streamts.cpp b/src/driver/streamts.cpp index 122a65bf2..8df0b0580 100644 --- a/src/driver/streamts.cpp +++ b/src/driver/streamts.cpp @@ -3,8 +3,6 @@ Copyright (C) 2011-2012 CoolStream International Ltd - Copyright (C) 2010-2012, 2014 Stefan Seyfried - based on code which is Copyright (C) 2002 Andreas Oberritter Copyright (C) 2001 TripleDES @@ -507,15 +505,6 @@ void CStreamManager::run() mutex.unlock(); } } - /* this is a cheap check */ - if (streams.empty() && - CNeutrinoApp::getInstance()->getMode() == NeutrinoMessages::mode_standby) { - /* this check is more expensive (goes through the socket) */ - if (g_Zapit->getMode() != 0) { - printf("CStreamManager::run: put zapit into standby...\n"); - g_Zapit->setStandby(true); - } - } } } }