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
This commit is contained in:
satbaby
2011-12-26 12:26:11 +00:00
parent bed601438e
commit b9b76fcd4c

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;