diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-03-17 15:10:57 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-03-17 15:10:57 +0100 |
commit | 62596f991ebf30a61cdbe1de15acd2c63f598149 (patch) | |
tree | 2eeb04febf502fe7de88062ba193f52a6b07c89e /sdt.c | |
parent | fd7ccc7627b08ab66122d644cb301aba42ae0c06 (diff) | |
download | vdr-62596f991ebf30a61cdbe1de15acd2c63f598149.tar.gz vdr-62596f991ebf30a61cdbe1de15acd2c63f598149.tar.bz2 |
Improved syncing on sections when parsing the NIT and SDT
Diffstat (limited to 'sdt.c')
-rw-r--r-- | sdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: sdt.c 4.3 2015/03/16 15:24:12 kls Exp $ + * $Id: sdt.c 4.4 2015/03/17 15:09:54 kls Exp $ */ #include "sdt.h" @@ -53,7 +53,7 @@ void cSdtFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length if (!sectionSyncer.Sync(sdt.getVersionNumber(), sdt.getSectionNumber(), sdt.getLastSectionNumber())) return; if (!Channels.Lock(true, 10)) { - sectionSyncer.Reset(); // let's not miss any section of the SDT + sectionSyncer.Repeat(); // let's not miss any section of the SDT return; } dbgsdt("SDT: %2d %2d %2d %s %d\n", sdt.getVersionNumber(), sdt.getSectionNumber(), sdt.getLastSectionNumber(), *cSource::ToString(source), Transponder()); |