From 3f85dfa680bc9c057d39fac2eab42354fd9d85fa Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 26 Dec 2011 12:26:11 +0000 Subject: [PATCH] Set empty audio description to 'unknown' (thx Gaucho316) git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2006 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/b9b76fcd4c36fc4edde08c389d1dfcc172a06d23 Author: Jacek Jendrzej Date: 2011-12-26 (Mon, 26 Dec 2011) ------------------ This commit was generated by Migit --- src/zapit/src/pmt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zapit/src/pmt.cpp b/src/zapit/src/pmt.cpp index e05060bf6..b9006374f 100644 --- a/src/zapit/src/pmt.cpp +++ b/src/zapit/src/pmt.cpp @@ -276,7 +276,7 @@ printf("[pmt] name %s\n", description.c_str()); case 0x03: case 0x04: if (description == "") - description = esInfo->elementary_PID; + description = " "; if(CServiceScan::getInstance()->Scanning()) { if(channel->getPreAudioPid() == 0) channel->setAudioPid(esInfo->elementary_PID); @@ -319,7 +319,7 @@ printf("[pmt] name %s\n", description.c_str()); case 0x81: esInfo->stream_type = 0x6; if (description == "") - description = esInfo->elementary_PID; + description = "Unknown"; description += " (AC3)"; isAc3 = true; descramble = true;