From c9b8c2c79b6f291293b6c0838007e81424376a6a Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Tue, 24 Apr 2012 17:48:28 +0200 Subject: [PATCH] scanpmt.cpp: show only Unknown without pid in infoviewer Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/ebbac56957a8791309128e129b52be9cf5562ba6 Author: Jacek Jendrzej Date: 2012-04-24 (Tue, 24 Apr 2012) Origin message was: ------------------ scanpmt.cpp: show only Unknown without pid in infoviewer ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/zapit/src/scanpmt.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/zapit/src/scanpmt.cpp b/src/zapit/src/scanpmt.cpp index ad0af971c..c308091b9 100644 --- a/src/zapit/src/scanpmt.cpp +++ b/src/zapit/src/scanpmt.cpp @@ -290,7 +290,8 @@ bool CPmt::ParseEsInfo(ElementaryStreamInfo *esinfo, CZapitChannel * const chann if(audio) { if(description.empty()) { char str[DESC_MAX_LEN]; - snprintf(str, DESC_MAX_LEN, "Unknown 0x%04x", esinfo->getPid()); +// snprintf(str, DESC_MAX_LEN, "Unknown 0x%04x", esinfo->getPid()); + snprintf(str, DESC_MAX_LEN, "Unknown"); description = str; } printf("[pmt] apid %04x stream %02x type %d [%s]\n", esinfo->getPid(), stream_type,