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: b9b76fcd4c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-12-26 (Mon, 26 Dec 2011)



------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2011-12-26 12:26:11 +00:00
parent 8d199c229e
commit 3f85dfa680

View File

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