mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
Fix DD audio pid auto-selection if DD prefered is set
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2076 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -505,9 +505,11 @@ void CRemoteControl::processAPIDnames()
|
|||||||
if(!strstr(current_PIDs.APIDs[count].desc, " (AC3)"))
|
if(!strstr(current_PIDs.APIDs[count].desc, " (AC3)"))
|
||||||
strncat(current_PIDs.APIDs[count].desc, " (AC3)", DESC_MAX_LEN - strlen(current_PIDs.APIDs[count].desc));
|
strncat(current_PIDs.APIDs[count].desc, " (AC3)", DESC_MAX_LEN - strlen(current_PIDs.APIDs[count].desc));
|
||||||
has_ac3 = true;
|
has_ac3 = true;
|
||||||
if((strlen( current_PIDs.APIDs[count].desc ) == 3) && g_settings.audio_DolbyDigital && (ac3_found < 0))
|
if(g_settings.audio_DolbyDigital && (ac3_found < 0))
|
||||||
ac3_found = count;
|
ac3_found = count;
|
||||||
}
|
}
|
||||||
|
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));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( has_unresolved_ctags )
|
if ( has_unresolved_ctags )
|
||||||
|
Reference in New Issue
Block a user