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

Fixed generating the HashId in cEIT::cEIT()

This commit is contained in:
Klaus Schmidinger 2020-11-28 21:45:05 +01:00
parent 56e2ed2628
commit 375d25627d
3 changed files with 5 additions and 3 deletions

View File

@ -3634,6 +3634,7 @@ Helmut Binder <cco@aon.at>
for initializing the status variable in cDvbTuner::GetFrontendStatus() and for initializing the status variable in cDvbTuner::GetFrontendStatus() and
cDvbTuner::GetSignalStats() to avoid problems with drivers that don't do this cDvbTuner::GetSignalStats() to avoid problems with drivers that don't do this
for fixing "read incomplete section" errors for fixing "read incomplete section" errors
for fixing generating the HashId in cEIT::cEIT()
Ulrich Eckhardt <uli@uli-eckhardt.de> Ulrich Eckhardt <uli@uli-eckhardt.de>
for reporting a problem with shutdown after user inactivity in case a plugin is for reporting a problem with shutdown after user inactivity in case a plugin is

View File

@ -9536,7 +9536,7 @@ Video Disk Recorder Revision History
cDvbTuner::GetSignalStats() to avoid problems with drivers that don't do this cDvbTuner::GetSignalStats() to avoid problems with drivers that don't do this
(thanks to Helmut Binder). (thanks to Helmut Binder).
2020-11-24: 2020-11-28:
- Fixed multiple recording entries in case a recording is started during the initial - Fixed multiple recording entries in case a recording is started during the initial
reading of the video directory (reported by Claus Muus). reading of the video directory (reported by Claus Muus).
@ -9547,3 +9547,4 @@ Video Disk Recorder Revision History
- Fixed parsing the '-l' command line option (reported by Harald Milz). - Fixed parsing the '-l' command line option (reported by Harald Milz).
- Fixed possible compilation errors with libjpeg (thanks to Bernd Kuhls). - Fixed possible compilation errors with libjpeg (thanks to Bernd Kuhls).
- Fixed "read incomplete section" errors (thanks to Helmut Binder). - Fixed "read incomplete section" errors (thanks to Helmut Binder).
- Fixed generating the HashId in cEIT::cEIT() (thanks to Helmut Binder).

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 4.10 2020/06/23 09:27:09 kls Exp $ * $Id: eit.c 4.11 2020/11/28 21:45:05 kls Exp $
*/ */
#include "eit.h" #include "eit.h"
@ -34,7 +34,7 @@ cEIT::cEIT(cSectionSyncerHash &SectionSyncerHash, int Source, u_char Tid, const
{ {
if (!CheckCRCAndParse()) if (!CheckCRCAndParse())
return; return;
int HashId = Tid * getServiceId(); int HashId = Tid + (getServiceId() << 8);
cSectionSyncerEntry *SectionSyncerEntry = SectionSyncerHash.Get(HashId); cSectionSyncerEntry *SectionSyncerEntry = SectionSyncerHash.Get(HashId);
if (!SectionSyncerEntry) { if (!SectionSyncerEntry) {
SectionSyncerEntry = new cSectionSyncerEntry; SectionSyncerEntry = new cSectionSyncerEntry;