The timeout for the channel display is now reset whenever the channel or EPG data changes

This commit is contained in:
Klaus Schmidinger 2017-11-02 15:36:24 +01:00
parent d8523b0db8
commit e02a0a8c88
2 changed files with 5 additions and 1 deletions

View File

@ -9186,3 +9186,5 @@ Video Disk Recorder Revision History
'DEPRECATED_VDR_CHARSET_OVERRIDE=1' when compiling in order to restore this
functionality. However, it is recommended to use the command line option --chartab
instead.
- The timeout for the channel display is now reset whenever the channel or EPG data
changes.

4
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 4.42 2017/10/31 09:42:07 kls Exp $
* $Id: menu.c 4.43 2017/11/02 15:26:42 kls Exp $
*/
#include "menu.h"
@ -4563,6 +4563,7 @@ void cDisplayChannel::DisplayChannel(void)
displayChannel->SetChannel(channel, number);
cStatus::MsgOsdChannel(ChannelString(channel, number));
lastPresent = lastFollowing = NULL;
lastTime.Set();
}
void cDisplayChannel::DisplayInfo(void)
@ -4578,6 +4579,7 @@ void cDisplayChannel::DisplayInfo(void)
cStatus::MsgOsdProgramme(Present ? Present->StartTime() : 0, Present ? Present->Title() : NULL, Present ? Present->ShortText() : NULL, Following ? Following->StartTime() : 0, Following ? Following->Title() : NULL, Following ? Following->ShortText() : NULL);
lastPresent = Present;
lastFollowing = Following;
lastTime.Set();
}
}
}