mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
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:
@@ -290,7 +290,8 @@ bool CPmt::ParseEsInfo(ElementaryStreamInfo *esinfo, CZapitChannel * const chann
|
|||||||
if(audio) {
|
if(audio) {
|
||||||
if(description.empty()) {
|
if(description.empty()) {
|
||||||
char str[DESC_MAX_LEN];
|
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;
|
description = str;
|
||||||
}
|
}
|
||||||
printf("[pmt] apid %04x stream %02x type %d [%s]\n", esinfo->getPid(), stream_type,
|
printf("[pmt] apid %04x stream %02x type %d [%s]\n", esinfo->getPid(), stream_type,
|
||||||
|
Reference in New Issue
Block a user