use auto lang only with more as 1 audio pid

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3d71258d31
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-04-18 (Fri, 18 Apr 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2014-04-18 19:27:08 +02:00
parent ad272b77e2
commit db9b32c1f6
2 changed files with 2 additions and 2 deletions

View File

@@ -454,7 +454,7 @@ void CRemoteControl::processAPIDnames()
const char *desc;
char lang[4];
if(g_settings.auto_lang) {
if(g_settings.auto_lang && (current_PIDs.APIDs.size() > 1)) {
/* first we check prefs to find pid according to pref index */
for(int i = 0; i < 3; i++) {
for(int j = 0; j < (int) current_PIDs.APIDs.size(); j++) {