MoviePlayer: Fix display 'info clock' and 'file time' when show movie infos

Origin commit data
------------------
Branch: ni/coolstream
Commit: 92cc47f383
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-04-21 (Mon, 21 Apr 2014)


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

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2014-04-21 10:32:01 +02:00
parent d7a46bda39
commit e65d663f3f
2 changed files with 11 additions and 3 deletions

View File

@@ -1285,13 +1285,19 @@ void CMoviePlayerGui::handleMovieBrowser(neutrino_msg_t msg, int /*position*/)
}
}
} else if (msg == NeutrinoMessages::SHOW_EPG && p_movie_info) {
CTimeOSD::mode m_mode = FileTime.getMode();
bool restore = FileTime.IsVisible();
FileTime.kill();
if (restore)
FileTime.kill();
InfoClock->enableInfoClock(false);
cMovieInfo.showMovieInfo(*p_movie_info);
if (restore)
FileTime.show(position);
InfoClock->enableInfoClock(true);
if (restore) {
FileTime.setMode(m_mode);
FileTime.update(position, duration);
}
}
return;
}