Fix audio menu in movieplayer

Origin commit data
------------------
Commit: 506203dd85
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-20 (Mon, 20 Jan 2014)
This commit is contained in:
Michael Liebmann
2014-01-20 10:50:32 +01:00
parent 22896c6856
commit b91255ff8f

View File

@@ -1006,10 +1006,9 @@ void CMoviePlayerGui::selectAudioPid(bool file_player)
int percent[numpida];
for (uint i=0; i < numpida; i++) {
percent[i] = CZapit::getInstance()->GetPidVolume(p_movie_info->epgId, apids[i], ac3flags[i]);
APIDSelector.addItem(new CMenuOptionNumberChooser(NONEXISTANT_LOCALE, &percent[i],
currentapid == apids[i],
0, 999, CVolume::getInstance(), 0, 0, NONEXISTANT_LOCALE,
p_movie_info->audioPids[i].epgAudioPidName.c_str()));
APIDSelector.addItem(new CMenuOptionNumberChooser(p_movie_info->audioPids[i].epgAudioPidName,
&percent[i], currentapid == apids[i],
0, 999, CVolume::getInstance()));
}
}