Fixed a bug I introduced when simplifying the original patch for detecting Premiere NVOD channel links

This commit is contained in:
Klaus Schmidinger 2007-07-28 13:23:37 +02:00
parent 031000493d
commit cad9843166
3 changed files with 5 additions and 2 deletions

View File

@ -1920,6 +1920,7 @@ Franz Gangkofer <Franz.Gangkofer@cadsoft.de>
Malte Schröder <MalteSch@gmx.de> Malte Schröder <MalteSch@gmx.de>
for reporting a crash after executing the SVDRP command CLRE for reporting a crash after executing the SVDRP command CLRE
for reporting a crash with the code for detecting Premiere NVOD channel links
Markus Hahn <mhahn@reel-multimedia.com> Markus Hahn <mhahn@reel-multimedia.com>
for suggesting to only start recordings if there is at least 300MB free disk space for suggesting to only start recordings if there is at least 300MB free disk space

View File

@ -5308,3 +5308,5 @@ Video Disk Recorder Revision History
- Updated the Estonian OSD texts (thanks to Arthur Konovalov). - Updated the Estonian OSD texts (thanks to Arthur Konovalov).
- Fixed a problem with characters >0x7F in the modified version of skipspace() - Fixed a problem with characters >0x7F in the modified version of skipspace()
(thanks to Marco Schlüßler). (thanks to Marco Schlüßler).
- Fixed a bug I introduced when simplifying the original patch for detecting
Premiere NVOD channel links (crash reported by Malte Schröder).

4
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.124 2007/07/21 14:58:04 kls Exp $ * $Id: eit.c 1.125 2007/07/28 13:16:43 kls Exp $
*/ */
#include "eit.h" #include "eit.h"
@ -199,7 +199,7 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data, bo
else if (Setup.UpdateChannels >= 4) { else if (Setup.UpdateChannels >= 4) {
cChannel *transponder = channel; cChannel *transponder = channel;
if (channel->Tid() != ld->getTransportStreamId()) if (channel->Tid() != ld->getTransportStreamId())
channel = Channels.GetByTransponderID(linkID); transponder = Channels.GetByTransponderID(linkID);
link = Channels.NewChannel(transponder, linkName, "", "", ld->getOriginalNetworkId(), ld->getTransportStreamId(), ld->getServiceId()); link = Channels.NewChannel(transponder, linkName, "", "", ld->getOriginalNetworkId(), ld->getTransportStreamId(), ld->getServiceId());
//XXX patFilter->Trigger(); //XXX patFilter->Trigger();
} }