From 21cfc23c1c4c35586ddb19b0a93b11b607a638f4 Mon Sep 17 00:00:00 2001 From: "[CST] 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 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/2d7b279e5b7f025d0e95f9d3ba93740345c8dedb Author: [CST] Focus Date: 2010-02-17 (Wed, 17 Feb 2010) ------------------ This commit was generated by Migit --- 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; } }