diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-03-13 12:12:33 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-03-13 12:12:33 +0100 |
commit | 70eb639c417b46bc7bac205069feb755e9ade96e (patch) | |
tree | fe63cb23abdbcb1a5ae104f779dafde7f05fcf87 /sdt.c | |
parent | 52b1e2a9ff81edd447de9d721f3df86f8380bc78 (diff) | |
download | vdr-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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()); } } |