mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
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 is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user