From 5828d347f7f91d60d0babb735f6b2fec9b10a436 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Wed, 29 May 2024 11:13:34 +0200 Subject: [PATCH] Fixed setting T2 system ID from NIT --- CONTRIBUTORS | 1 + HISTORY | 3 ++- nit.c | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 08ba4a27..3cd5b95c 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -3606,6 +3606,7 @@ Stefan Herdler present, but empty for reporting a missing check for self-assignment in the move assignment operator for modifying handling channel names with source to make it thread safe + for fixing setting T2 system ID from NIT Tobias Faust for the original "jumpingseconds" patch diff --git a/HISTORY b/HISTORY index ff5dfd11..cb4fc3f2 100644 --- a/HISTORY +++ b/HISTORY @@ -9919,7 +9919,8 @@ Video Disk Recorder Revision History - A device is now always kept occupied if a timer is in VPS margin or needs the transponder (thanks to Markus Ehrnsperger). -2024-05-24: +2024-05-29: - Updated the Italian OSD texts (thanks to Diego Pierotto). - Fixed a possible access of a deleted object in the EIT scanner. +- Fixed setting T2 system ID from NIT (thanks to Stefan Herdler). diff --git a/nit.c b/nit.c index b862396c..88a2a25a 100644 --- a/nit.c +++ b/nit.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: nit.c 5.3 2022/11/30 12:02:00 kls Exp $ + * $Id: nit.c 5.4 2024/05/29 11:13:34 kls Exp $ */ #include "nit.h" @@ -257,7 +257,7 @@ void cNitFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length cDvbTransponderParameters dtpc(Channel->Parameters()); dtp.SetSystem(dtpc.System()); dtp.SetStreamId(dtpc.StreamId()); - dtp.SetT2SystemId(dtp.T2SystemId()); + dtp.SetT2SystemId(dtpc.T2SystemId()); dtp.SetSisoMiso(dtpc.SisoMiso()); dtp.SetBandwidth(dtpc.Bandwidth()); dtp.SetGuard(dtpc.Guard());