1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

cEIT::cEIT() now calls pSchedule->SetPresentSeen() even if OnlyRunningStatus is true

This commit is contained in:
Klaus Schmidinger 2006-07-22 09:25:11 +02:00
parent c4743d1d26
commit e9a90f7972
2 changed files with 5 additions and 3 deletions

View File

@ -4814,3 +4814,5 @@ Video Disk Recorder Revision History
- Removed a double fdopen() in cPipe::Open() (reported by Stefan Huelswitt). - Removed a double fdopen() in cPipe::Open() (reported by Stefan Huelswitt).
- Fixed handling the running status of EPG events before the currently running one, - Fixed handling the running status of EPG events before the currently running one,
in case they are added after the current event. in case they are added after the current event.
- cEIT::cEIT() now calls pSchedule->SetPresentSeen() even if OnlyRunningStatus is
true.

6
eit.c
View File

@ -8,7 +8,7 @@
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. * Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
* Adapted to 'libsi' for VDR 1.3.0 by Marcel Wiesweg <marcel.wiesweg@gmx.de>. * Adapted to 'libsi' for VDR 1.3.0 by Marcel Wiesweg <marcel.wiesweg@gmx.de>.
* *
* $Id: eit.c 1.118 2006/05/25 14:53:15 kls Exp $ * $Id: eit.c 1.119 2006/07/22 09:21:59 kls Exp $
*/ */
#include "eit.h" #include "eit.h"
@ -253,10 +253,10 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data, bo
if (Empty && Tid == 0x4E && getSectionNumber() == 0) if (Empty && Tid == 0x4E && getSectionNumber() == 0)
// ETR 211: an empty entry in section 0 of table 0x4E means there is currently no event running // ETR 211: an empty entry in section 0 of table 0x4E means there is currently no event running
pSchedule->ClrRunningStatus(channel); pSchedule->ClrRunningStatus(channel);
if (OnlyRunningStatus)
return;
if (Tid == 0x4E) if (Tid == 0x4E)
pSchedule->SetPresentSeen(); pSchedule->SetPresentSeen();
if (OnlyRunningStatus)
return;
if (Modified) { if (Modified) {
pSchedule->Sort(); pSchedule->Sort();
if (!HasExternalData) if (!HasExternalData)