scanpmt.cpp: show only Unknown without pid in infoviewer

Origin commit data
------------------
Branch: ni/coolstream
Commit: ebbac56957
Author: Jacek Jendrzej <overx300@gmail.com>
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
This commit is contained in:
Jacek Jendrzej
2012-04-24 17:48:28 +02:00
parent 7af616c3d8
commit c9b8c2c79b

View File

@@ -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,