movieplayer: init neutrino_msg_t

Origin commit data
------------------
Branch: ni/coolstream
Commit: c0284d7bb4
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)


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

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2019-06-09 18:28:44 +02:00
committed by vanhofen
parent f4ba72cb53
commit a54a6c4ab9

View File

@@ -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();
@@ -1554,8 +1554,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