mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
gui/movieplayer.cpp: fix volume values in audio selection
Origin commit data
------------------
Commit: 493098040d
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-11-09 (Sun, 09 Nov 2014)
This commit is contained in:
@@ -1230,12 +1230,12 @@ void CMoviePlayerGui::selectAudioPid()
|
||||
APIDSelector.addItem(item, defpid);
|
||||
}
|
||||
|
||||
int percent[numpida];
|
||||
if (p_movie_info && numpida <= p_movie_info->audioPids.size()) {
|
||||
APIDSelector.addItem(new CMenuSeparator(CMenuSeparator::LINE | CMenuSeparator::STRING, LOCALE_AUDIOMENU_VOLUME_ADJUST));
|
||||
|
||||
CVolume::getInstance()->SetCurrentChannel(p_movie_info->epgId);
|
||||
CVolume::getInstance()->SetCurrentPid(currentapid);
|
||||
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(p_movie_info->audioPids[i].epgAudioPidName,
|
||||
|
Reference in New Issue
Block a user