hack for hack

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@798 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 51317a3adb
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-09-23 (Thu, 23 Sep 2010)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2010-09-23 18:22:29 +00:00
parent ad08bf7e62
commit 94119906b1

View File

@@ -1448,7 +1448,10 @@ printf("[zapit] recording mode: %d\n", msgSetRecordMode.activate);fflush(stdout)
break;
case CZapitMessages::CMD_SB_LOCK_PLAYBACK:
/* hack. if standby true, dont blank video */
standby = true;
stopPlayBack(true);
standby = false;
playbackStopForced = true;
response.cmd = CZapitMessages::CMD_READY;
CBasicServer::send_data(connfd, &response, sizeof(response));
@@ -2001,6 +2004,7 @@ in record mode we stop onle cam1, while cam continue to decrypt recording channe
}
if (videoDecoder) {
/* hack. if standby, dont blank video -> for paused timeshift */
videoDecoder->Stop(standby ? false : true);
videoDecoder->StopVBI();
}