* Timeshift (display the infobar)

- Infobar is visible when playback (Timeshift pause = off) is running.


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1843 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
micha-bbg
2011-11-13 14:41:06 +00:00
parent f92e4b3f1c
commit 76bb470ea0

View File

@@ -459,6 +459,7 @@ extern bool has_hdd;
#define TIMESHIFT_SECONDS 3
void CMoviePlayerGui::PlayFile(void)
{
bool first_start_timeshift = false;
neutrino_msg_t msg;
neutrino_msg_data_t data;
int position = 0, duration = 0;
@@ -554,11 +555,8 @@ void CMoviePlayerGui::PlayFile(void)
isBookmark = false;
timesh = false;
start_timeshift = true;
first_start_timeshift = true;
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
g_InfoViewer->showTitle(CNeutrinoApp::getInstance()->channelList->getActiveChannelNumber(),
CNeutrinoApp::getInstance()->channelList->getActiveChannelName(),
CNeutrinoApp::getInstance()->channelList->getActiveSatellitePosition(),
CNeutrinoApp::getInstance()->channelList->getActiveChannel_ChannelID());
}
if (isBookmark) {
@@ -1313,6 +1311,14 @@ void CMoviePlayerGui::PlayFile(void)
}
}
if (first_start_timeshift) {
g_InfoViewer->showTitle(CNeutrinoApp::getInstance()->channelList->getActiveChannelNumber(),
CNeutrinoApp::getInstance()->channelList->getActiveChannelName(),
CNeutrinoApp::getInstance()->channelList->getActiveSatellitePosition(),
CNeutrinoApp::getInstance()->channelList->getActiveChannel_ChannelID());
first_start_timeshift = false;
}
if (exit) {
printf("CMoviePlayerGui::PlayFile: exit, isMovieBrowser %d p_movie_info %x\n", isMovieBrowser, (int) p_movie_info);
if (isMovieBrowser == true && p_movie_info != NULL) {