mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 10:51:12 +02:00
movieplayer: init neutrino_msg_t
This commit is contained in:
@@ -807,8 +807,8 @@ void *CMoviePlayerGui::ShowStartHint(void *arg)
|
|||||||
hintbox->paint();
|
hintbox->paint();
|
||||||
}
|
}
|
||||||
while (caller->showStartingHint) {
|
while (caller->showStartingHint) {
|
||||||
neutrino_msg_t msg;
|
neutrino_msg_t msg = 0;
|
||||||
neutrino_msg_data_t data;
|
neutrino_msg_data_t data = 0;
|
||||||
g_RCInput->getMsg(&msg, &data, 1);
|
g_RCInput->getMsg(&msg, &data, 1);
|
||||||
if (msg == CRCInput::RC_home || msg == CRCInput::RC_stop) {
|
if (msg == CRCInput::RC_home || msg == CRCInput::RC_stop) {
|
||||||
caller->playback->RequestAbort();
|
caller->playback->RequestAbort();
|
||||||
@@ -1553,8 +1553,8 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
|||||||
first_start = false;
|
first_start = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
neutrino_msg_t msg;
|
neutrino_msg_t msg = 0;
|
||||||
neutrino_msg_data_t data;
|
neutrino_msg_data_t data = 0;
|
||||||
g_RCInput->getMsg(&msg, &data, 10); // 1 secs..
|
g_RCInput->getMsg(&msg, &data, 10); // 1 secs..
|
||||||
|
|
||||||
// handle CRCInput::RC_playpause key
|
// handle CRCInput::RC_playpause key
|
||||||
|
Reference in New Issue
Block a user