mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
Revert "streamts: put zapit back into standby after streaming"
This reverts commitdb18d90fb9
. Origin commit data ------------------ Branch: ni/coolstream Commit:50eb534417
Author: [CST] Focus <focus.cst@gmail.com> Date: 2014-03-26 (Wed, 26 Mar 2014) ------------------ This commit was generated by Migit
This commit is contained in:
@@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
Copyright (C) 2011-2012 CoolStream International Ltd
|
Copyright (C) 2011-2012 CoolStream International Ltd
|
||||||
|
|
||||||
Copyright (C) 2010-2012, 2014 Stefan Seyfried
|
|
||||||
|
|
||||||
based on code which is
|
based on code which is
|
||||||
Copyright (C) 2002 Andreas Oberritter <obi@tuxbox.org>
|
Copyright (C) 2002 Andreas Oberritter <obi@tuxbox.org>
|
||||||
Copyright (C) 2001 TripleDES
|
Copyright (C) 2001 TripleDES
|
||||||
@@ -507,15 +505,6 @@ void CStreamManager::run()
|
|||||||
mutex.unlock();
|
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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user