summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-03-06 14:33:22 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-03-06 14:33:22 +0100
commit12c0b0dd1507ccb6aa4d83ebc43f248816ff30f4 (patch)
tree87fc25064a93157e1dccf7e0e7d8c1c368b167d0 /eit.c
parent18d3851b72d35b6c658dd1fb71acff1a88c2c58a (diff)
downloadvdr-12c0b0dd1507ccb6aa4d83ebc43f248816ff30f4.tar.gz
vdr-12c0b0dd1507ccb6aa4d83ebc43f248816ff30f4.tar.bz2
Added log entries whenever the running status of an event changes
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/eit.c b/eit.c
index e1f4509a..56ee2f58 100644
--- a/eit.c
+++ b/eit.c
@@ -8,7 +8,7 @@
* 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>.
*
- * $Id: eit.c 1.89 2004/02/22 13:17:52 kls Exp $
+ * $Id: eit.c 1.90 2004/03/06 14:24:22 kls Exp $
*/
#include "eit.h"
@@ -82,10 +82,6 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data)
pEvent->SetVersion(getVersionNumber());
pEvent->SetStartTime(SiEitEvent.getStartTime());
pEvent->SetDuration(SiEitEvent.getDuration());
- if (isPresentFollowing()) {
- if (SiEitEvent.getRunningStatus() > SI::RunningStatusNotRunning)
- pSchedule->SetRunningStatus(pEvent, SiEitEvent.getRunningStatus());
- }
int LanguagePreferenceShort = -1;
int LanguagePreferenceExt = -1;
@@ -205,6 +201,10 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data)
if (LinkChannels)
channel->SetLinkChannels(LinkChannels);
+ if (Tid == 0x4E) { // we trust only the present/following info on the actual TS
+ if (SiEitEvent.getRunningStatus() >= SI::RunningStatusNotRunning)
+ pSchedule->SetRunningStatus(pEvent, SiEitEvent.getRunningStatus(), channel);
+ }
Modified = true;
}
if (Modified)