movieplayer dont skip RequestAbort

This commit is contained in:
Jacek Jendrzej
2013-09-08 19:04:34 +02:00
parent ba4d30112d
commit 073d7c93e3

View File

@@ -464,10 +464,11 @@ void *CMoviePlayerGui::ShowStartHint(void *arg)
{
set_threadname(__func__);
CMoviePlayerGui *caller = (CMoviePlayerGui *)arg;
CHintBox *hintbox = NULL;
if(!caller->file_name.empty()){
CHintBox hintbox(LOCALE_MOVIEPLAYER_STARTING, caller->file_name.c_str(), 450, NEUTRINO_ICON_MOVIEPLAYER);
hintbox.paint();
hintbox = new CHintBox(LOCALE_MOVIEPLAYER_STARTING, caller->file_name.c_str(), 450, NEUTRINO_ICON_MOVIEPLAYER);
hintbox->paint();
}
while (caller->showStartingHint) {
neutrino_msg_t msg;
neutrino_msg_data_t data;
@@ -477,7 +478,9 @@ void *CMoviePlayerGui::ShowStartHint(void *arg)
caller->playback->RequestAbort();
}
}
hintbox.hide();
if(hintbox != NULL){
hintbox->hide();
delete hintbox;
}
return NULL;
}