Added warning on invalid DSM-CC sections.
Some checks failed
🚀 Pack skyscraper8 / make-zip (push) Failing after 1m40s

This commit is contained in:
feyris-tan 2026-03-15 20:09:08 +01:00
parent 7de126b5a1
commit c740e3c6bb
2 changed files with 13 additions and 8 deletions

View File

@ -1,9 +1,6 @@
using System; using Ionic.Zlib;
using System.Collections.Generic; using log4net;
using System.Diagnostics; using log4net.Repository.Hierarchy;
using System.IO;
using System.Linq;
using Ionic.Zlib;
using skyscraper5.DsmCc; using skyscraper5.DsmCc;
using skyscraper5.DsmCc.Descriptors; using skyscraper5.DsmCc.Descriptors;
using skyscraper5.DsmCc.Message; using skyscraper5.DsmCc.Message;
@ -16,12 +13,19 @@ using skyscraper5.Mpeg2.Psi.Model;
using skyscraper5.Skyscraper.IO; using skyscraper5.Skyscraper.IO;
using skyscraper5.Skyscraper.Scraper; using skyscraper5.Skyscraper.Scraper;
using skyscraper5.Skyscraper.Scraper.Utils; using skyscraper5.Skyscraper.Scraper.Utils;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Tsubasa.IO; using Tsubasa.IO;
namespace skyscraper5.Dvb.DataBroadcasting namespace skyscraper5.Dvb.DataBroadcasting
{ {
class DataCarouselDecoder : IPsiProcessor, IDisposable class DataCarouselDecoder : IPsiProcessor, IDisposable
{ {
private static readonly ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.Name);
private SiDumper siDumper; private SiDumper siDumper;
private List<ModuleInfo> waitingModuleInfos; private List<ModuleInfo> waitingModuleInfos;
private ProgramMappingStream programMappingStream; private ProgramMappingStream programMappingStream;
@ -65,6 +69,7 @@ namespace skyscraper5.Dvb.DataBroadcasting
//Undocumented, manufacterer specific data. //Undocumented, manufacterer specific data.
break; break;
default: default:
logger.Warn(String.Format("Unknown DSM-CC Sectino type: 0x{0:X2}", dataCopy[0]));
return; return;
} }
} }

View File

@ -2,7 +2,7 @@
"profiles": { "profiles": {
"skyscraper8": { "skyscraper8": {
"commandName": "Project", "commandName": "Project",
"commandLineArgs": "\"C:\\devel\\skyscraper8-testsuite\\express_3928L_t2mi.ts\"", "commandLineArgs": "\"C:\\devel\\skyscraper8-testsuite\\cosmo_dsmcc.ts\"",
"remoteDebugEnabled": false "remoteDebugEnabled": false
}, },
"Container (Dockerfile)": { "Container (Dockerfile)": {