mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
init pre post
This commit is contained in:
@@ -306,7 +306,7 @@ bool timerd_parse_command(CBasicMessage::Header &rmsg, int connfd)
|
||||
CBasicServer::receive_data(connfd, &recInfo, sizeof(CTimerd::TransferRecordingInfo));
|
||||
if(recInfo.recordingSafety)
|
||||
{
|
||||
int pre,post;
|
||||
int pre = 0,post = 0;
|
||||
CTimerManager::getInstance()->getRecordingSafety(pre,post);
|
||||
msgAddTimer.announceTime -= pre;
|
||||
msgAddTimer.alarmTime -= pre;
|
||||
|
@@ -1347,7 +1347,7 @@ bool CTimerEvent_Record::adjustToCurrentEPG()
|
||||
CChannelEventList evtlist;
|
||||
CEitManager::getInstance()->getEventsServiceKey(eventInfo.channel_id, evtlist);
|
||||
|
||||
int pre, post;
|
||||
int pre = 0, post = 0;
|
||||
CTimerManager::getInstance()->getRecordingSafety(pre, post);
|
||||
|
||||
time_t _announceTime = announceTime;
|
||||
|
Reference in New Issue
Block a user