From 2d7b279e5b7f025d0e95f9d3ba93740345c8dedb Mon Sep 17 00:00:00 2001 From: focus Date: Wed, 17 Feb 2010 13:26:13 +0000 Subject: [PATCH] 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 --- src/daemonc/remotecontrol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemonc/remotecontrol.cpp b/src/daemonc/remotecontrol.cpp index ec083673a..69fcb4c9c 100644 --- a/src/daemonc/remotecontrol.cpp +++ b/src/daemonc/remotecontrol.cpp @@ -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; } }