Infobar blocked buttons in time shift.

- When pressing the player buttons (play, pause, etc.)
 in the infobar is now hidden and runs the appropriate commands.


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1778 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 027b5a06a1
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2011-10-26 (Wed, 26 Oct 2011)

Origin message was:
------------------
Infobar blocked buttons in time shift.

- When pressing the player buttons (play, pause, etc.)
 in the infobar is now hidden and runs the appropriate commands.


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1778 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2011-10-26 19:51:06 +00:00
parent be774a7a69
commit fcefe7a34f
3 changed files with 15 additions and 0 deletions

View File

@@ -944,6 +944,18 @@ void CInfoViewer::loop(int fadeValue, bool show_dot ,bool fadeIn)
}
else
res = CNeutrinoApp::getInstance()->handleMsg(msg, data);
} else if (CMoviePlayerGui::getInstance().start_timeshift && (msg == NeutrinoMessages::EVT_TIMER)) {
CMoviePlayerGui::getInstance().start_timeshift = false;
} else if (CMoviePlayerGui::getInstance().timeshift && ((msg == (neutrino_msg_t) g_settings.mpkey_rewind) || \
(msg == (neutrino_msg_t) g_settings.mpkey_forward) || \
(msg == (neutrino_msg_t) g_settings.mpkey_pause) || \
(msg == (neutrino_msg_t) g_settings.mpkey_stop) || \
(msg == (neutrino_msg_t) g_settings.mpkey_play) || \
(msg == (neutrino_msg_t) g_settings.mpkey_time) || \
(msg == (neutrino_msg_t) g_settings.key_timeshift))) {
g_RCInput->postMsg (msg, data);
res = messages_return::cancel_info;
}
}