summaryrefslogtreecommitdiff
path: root/sdt.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-03-13 12:12:33 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-03-13 12:12:33 +0100
commit70eb639c417b46bc7bac205069feb755e9ade96e (patch)
treefe63cb23abdbcb1a5ae104f779dafde7f05fcf87 /sdt.c
parent52b1e2a9ff81edd447de9d721f3df86f8380bc78 (diff)
downloadvdr-70eb639c417b46bc7bac205069feb755e9ade96e.tar.gz
vdr-70eb639c417b46bc7bac205069feb755e9ade96e.tar.bz2
Fixed setting the source value of newly created channels, in case the NIT is received from a different, but very close satellite position
Diffstat (limited to 'sdt.c')
-rw-r--r--sdt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sdt.c b/sdt.c
index 4e6748d8..b75a243a 100644
--- a/sdt.c
+++ b/sdt.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: sdt.c 3.4 2015/01/04 14:33:35 kls Exp $
+ * $Id: sdt.c 4.1 2015/03/13 11:39:42 kls Exp $
*/
#include "sdt.h"
@@ -105,6 +105,7 @@ void cSdtFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length
}
else if (*pn && Setup.UpdateChannels >= 4) {
channel = Channels.NewChannel(Channel(), pn, ps, pp, sdt.getOriginalNetworkId(), sdt.getTransportStreamId(), SiSdtService.getServiceId());
+ channel->SetSource(source); // in case this comes from a satellite with a slightly different position
patFilter->Trigger(SiSdtService.getServiceId());
}
}