Fixed setting T2 system ID from NIT

This commit is contained in:
Klaus Schmidinger 2024-05-29 11:13:34 +02:00
parent 9c64622718
commit 5828d347f7
3 changed files with 5 additions and 3 deletions

View File

@ -3606,6 +3606,7 @@ Stefan Herdler <herdler@gmx.de>
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 <tobias.faust@gmx.de>
for the original "jumpingseconds" patch

View File

@ -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).

4
nit.c
View File

@ -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());