mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
supplemental to 4071ffd3deb55898de680a8cfd8ac1085a41a4f7
Origin commit data
------------------
Branch: ni/coolstream
Commit: b298789767
Author: TangoCash <eric@loxat.de>
Date: 2021-01-31 (Sun, 31 Jan 2021)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -526,10 +526,24 @@ void CRemoteControl::processAPIDnames()
|
||||
if(g_settings.audio_DolbyDigital && (ac3_found < 0))
|
||||
ac3_found = count;
|
||||
}
|
||||
else if ( current_PIDs.APIDs[count].is_eac3 )
|
||||
{
|
||||
if(!strstr(current_PIDs.APIDs[count].desc, " (EAC3)"))
|
||||
tmp_desc += " (EAC3)";
|
||||
has_ac3 = true;
|
||||
if(g_settings.audio_DolbyDigital && (ac3_found < 0))
|
||||
ac3_found = count;
|
||||
}
|
||||
else if (current_PIDs.APIDs[count].is_aac && !strstr(current_PIDs.APIDs[count].desc, " (AAC)"))
|
||||
tmp_desc += " (AAC)";
|
||||
else if (current_PIDs.APIDs[count].is_eac3 && !strstr(current_PIDs.APIDs[count].desc, " (EAC3)"))
|
||||
tmp_desc += " (EAC3)";
|
||||
else if (current_PIDs.APIDs[count].is_aache && !strstr(current_PIDs.APIDs[count].desc, " (AACP)"))
|
||||
tmp_desc += " (AACP)";
|
||||
else if (current_PIDs.APIDs[count].is_dts && !strstr(current_PIDs.APIDs[count].desc, " (DTS)"))
|
||||
tmp_desc += " (DTS)";
|
||||
else if (current_PIDs.APIDs[count].is_dtshd && !strstr(current_PIDs.APIDs[count].desc, " (DTSHD)"))
|
||||
tmp_desc += " (DTSHD)";
|
||||
else if (current_PIDs.APIDs[count].is_lpcm && !strstr(current_PIDs.APIDs[count].desc, " (LPCM)"))
|
||||
tmp_desc += " (LPCM)";
|
||||
|
||||
if(!tmp_desc.empty()){
|
||||
strncpy(current_PIDs.APIDs[count].desc, tmp_desc.c_str(), DESC_MAX_LEN -1);
|
||||
|
Reference in New Issue
Block a user