mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
CRemoteControl: de-spam processAPIDnames()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 66679f537c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-03-03 (Sun, 03 Mar 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
Copyright (C) 2001 Steffen Hehn 'McClean'
|
||||
Homepage: http://dbox.cyberphoria.org/
|
||||
|
||||
(C) 2008-2012 Stefan Seyfried
|
||||
(C) 2008-2013 Stefan Seyfried
|
||||
|
||||
Kommentar:
|
||||
|
||||
@@ -484,10 +484,12 @@ void CRemoteControl::processAPIDnames()
|
||||
pref_ac3_found = -1;
|
||||
}
|
||||
|
||||
if (! current_PIDs.APIDs.empty())
|
||||
printf("Neutrino: ");
|
||||
for(unsigned int count=0; count< current_PIDs.APIDs.size(); count++)
|
||||
{
|
||||
const char *iso = getISO639Description(current_PIDs.APIDs[count].desc);
|
||||
printf("Neutrino: apid name= %s (%s) pid= %X\n", current_PIDs.APIDs[count].desc, iso, current_PIDs.APIDs[count].pid);
|
||||
printf("apid=%04x/%s/%s ", current_PIDs.APIDs[count].pid, current_PIDs.APIDs[count].desc, iso);
|
||||
if ( current_PIDs.APIDs[count].component_tag != 0xFF )
|
||||
{
|
||||
has_unresolved_ctags= true;
|
||||
@@ -511,6 +513,8 @@ void CRemoteControl::processAPIDnames()
|
||||
else if (current_PIDs.APIDs[count].is_aac && !strstr(current_PIDs.APIDs[count].desc, " (AAC)"))
|
||||
strncat(current_PIDs.APIDs[count].desc, " (AAC)", DESC_MAX_LEN - strlen(current_PIDs.APIDs[count].desc)-1);
|
||||
}
|
||||
if (! current_PIDs.APIDs.empty())
|
||||
printf("\n");
|
||||
|
||||
if ( has_unresolved_ctags )
|
||||
{
|
||||
|
Reference in New Issue
Block a user