diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2014-03-16 10:48:30 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2014-03-16 10:48:30 +0100 |
commit | 25e2dbf031a50d7b0295f8e543f011a52a9c9075 (patch) | |
tree | b1056dfe1385b4c8f00803f92b7c0e2b74212e2f /nit.c | |
parent | af56e53315ae5b06ca695d2f233239410b6147b4 (diff) | |
download | vdr-25e2dbf031a50d7b0295f8e543f011a52a9c9075.tar.gz vdr-25e2dbf031a50d7b0295f8e543f011a52a9c9075.tar.bz2 |
Added support for "Pilot", "T2-System-Id" and "SISO/MISO" parameters
Diffstat (limited to 'nit.c')
-rw-r--r-- | nit.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: nit.c 3.2 2014/03/10 14:35:31 kls Exp $ + * $Id: nit.c 3.3 2014/03/16 10:38:31 kls Exp $ */ #include "nit.h" @@ -333,11 +333,12 @@ void cNitFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length SI::T2DeliverySystemDescriptor *td = (SI::T2DeliverySystemDescriptor *)d; int Frequency = Channel->Frequency(); int SymbolRate = Channel->Srate(); - //int SystemId = td->getSystemId(); cDvbTransponderParameters dtp(Channel->Parameters()); dtp.SetSystem(DVB_SYSTEM_2); dtp.SetStreamId(td->getPlpId()); + dtp.SetT2SystemId(td->getT2SystemId()); if (td->getExtendedDataFlag()) { + dtp.SetSisoMiso(td->getSisoMiso()); static int T2Bandwidths[] = { 8000000, 7000000, 6000000, 5000000, 10000000, 1712000, 0, 0 }; dtp.SetBandwidth(T2Bandwidths[td->getBandwidth()]); static int T2GuardIntervals[] = { GUARD_INTERVAL_1_32, GUARD_INTERVAL_1_16, GUARD_INTERVAL_1_8, GUARD_INTERVAL_1_4, GUARD_INTERVAL_1_128, GUARD_INTERVAL_19_128, GUARD_INTERVAL_19_256, 0 }; |