mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
init pre post
This commit is contained in:
@@ -310,7 +310,7 @@ int CRecordSetup::showRecordSetup()
|
||||
void CRecordSetup::showRecordTimerSetup(CMenuWidget *menu_timersettings)
|
||||
{
|
||||
//recording start/end correcture
|
||||
int pre,post;
|
||||
int pre = 0,post = 0;
|
||||
g_Timerd->getRecordingSafety(pre,post);
|
||||
g_settings.record_safety_time_before = pre/60;
|
||||
g_settings.record_safety_time_after = post/60;
|
||||
|
@@ -442,7 +442,7 @@ int CTimerList::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
}
|
||||
else if ((strcmp(key, "send_remotetimer") == 0) && RemoteBoxChanExists(timerlist[selected].channel_id))
|
||||
{
|
||||
int pre,post;
|
||||
int pre = 0,post = 0;
|
||||
Timer->getRecordingSafety(pre,post);
|
||||
CHTTPTool httpTool;
|
||||
std::string r_url;
|
||||
|
Reference in New Issue
Block a user