Fix for switching to ac3 pid at second call

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@363 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2010-02-17 13:26:13 +00:00
parent e4b5e3fea1
commit 2d7b279e5b

View File

@@ -472,7 +472,7 @@ void CRemoteControl::processAPIDnames()
{
strncat(current_PIDs.APIDs[count].desc, " (AC3)", 25);
has_ac3 = true;
if(g_settings.audio_DolbyDigital && (ac3_found < 0))
if((strlen( current_PIDs.APIDs[count].desc ) == 3) && g_settings.audio_DolbyDigital && (ac3_found < 0))
ac3_found = count;
}
}