mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed handling EPG data for time shifted events
This commit is contained in:
parent
ccb0add798
commit
7369545585
@ -1203,6 +1203,7 @@ Marco Schl
|
|||||||
for fixing a possible hangup when ending a replay session while cIndexFile::CatchUp()
|
for fixing a possible hangup when ending a replay session while cIndexFile::CatchUp()
|
||||||
is waiting
|
is waiting
|
||||||
for improving resetting CAM connections
|
for improving resetting CAM connections
|
||||||
|
for fixing handling EPG data for time shifted events
|
||||||
|
|
||||||
Jürgen Schmitz <j.schmitz@web.de>
|
Jürgen Schmitz <j.schmitz@web.de>
|
||||||
for reporting a bug in displaying the current channel when switching via the SVDRP
|
for reporting a bug in displaying the current channel when switching via the SVDRP
|
||||||
|
1
HISTORY
1
HISTORY
@ -3680,3 +3680,4 @@ Video Disk Recorder Revision History
|
|||||||
of cThread::Active() has been moved into the new cThread::Running().
|
of cThread::Active() has been moved into the new cThread::Running().
|
||||||
Plugin authors may want to check their derived cThread classes and replace any 'active'
|
Plugin authors may want to check their derived cThread classes and replace any 'active'
|
||||||
variables the same way as, for instance, done in transfer.c.
|
variables the same way as, for instance, done in transfer.c.
|
||||||
|
- Fixed handling EPG data for time shifted events (thanks to Marco Schlüßler).
|
||||||
|
5
eit.c
5
eit.c
@ -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.109 2005/08/07 13:52:29 kls Exp $
|
* $Id: eit.c 1.110 2005/08/13 13:27:34 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "eit.h"
|
#include "eit.h"
|
||||||
@ -35,8 +35,6 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data)
|
|||||||
if (!channel)
|
if (!channel)
|
||||||
return; // only collect data for known channels
|
return; // only collect data for known channels
|
||||||
|
|
||||||
cEvent *rEvent = NULL;
|
|
||||||
|
|
||||||
cSchedule *pSchedule = (cSchedule *)Schedules->GetSchedule(channelID);
|
cSchedule *pSchedule = (cSchedule *)Schedules->GetSchedule(channelID);
|
||||||
if (!pSchedule) {
|
if (!pSchedule) {
|
||||||
pSchedule = new cSchedule(channelID);
|
pSchedule = new cSchedule(channelID);
|
||||||
@ -53,6 +51,7 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data)
|
|||||||
continue;
|
continue;
|
||||||
Empty = false;
|
Empty = false;
|
||||||
cEvent *newEvent = NULL;
|
cEvent *newEvent = NULL;
|
||||||
|
cEvent *rEvent = NULL;
|
||||||
cEvent *pEvent = (cEvent *)pSchedule->GetEvent(SiEitEvent.getEventId(), SiEitEvent.getStartTime());
|
cEvent *pEvent = (cEvent *)pSchedule->GetEvent(SiEitEvent.getEventId(), SiEitEvent.getStartTime());
|
||||||
if (!pEvent) {
|
if (!pEvent) {
|
||||||
// If we don't have that event yet, we create a new one.
|
// If we don't have that event yet, we create a new one.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user