mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
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:
@@ -276,7 +276,7 @@ printf("[pmt] name %s\n", description.c_str());
|
|||||||
case 0x03:
|
case 0x03:
|
||||||
case 0x04:
|
case 0x04:
|
||||||
if (description == "")
|
if (description == "")
|
||||||
description = esInfo->elementary_PID;
|
description = " ";
|
||||||
if(CServiceScan::getInstance()->Scanning()) {
|
if(CServiceScan::getInstance()->Scanning()) {
|
||||||
if(channel->getPreAudioPid() == 0)
|
if(channel->getPreAudioPid() == 0)
|
||||||
channel->setAudioPid(esInfo->elementary_PID);
|
channel->setAudioPid(esInfo->elementary_PID);
|
||||||
@@ -319,7 +319,7 @@ printf("[pmt] name %s\n", description.c_str());
|
|||||||
case 0x81:
|
case 0x81:
|
||||||
esInfo->stream_type = 0x6;
|
esInfo->stream_type = 0x6;
|
||||||
if (description == "")
|
if (description == "")
|
||||||
description = esInfo->elementary_PID;
|
description = "Unknown";
|
||||||
description += " (AC3)";
|
description += " (AC3)";
|
||||||
isAc3 = true;
|
isAc3 = true;
|
||||||
descramble = true;
|
descramble = true;
|
||||||
|
Reference in New Issue
Block a user