hack for hack

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@798 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2010-09-23 18:22:29 +00:00
parent 41234dbfb5
commit 51317a3adb

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