fix fading from moviebrowser

This commit is contained in:
TangoCash
2016-08-09 17:45:12 +02:00
committed by svenhoefer
parent eb73d09ac3
commit c0f3e908ff

View File

@@ -941,6 +941,12 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
switch ( msg ) switch ( msg )
{ {
case NeutrinoMessages::EVT_TIMER: case NeutrinoMessages::EVT_TIMER:
if (data == fader.GetFadeTimer()) {
if (fader.FadeDone())
loop = false;
}
else
CNeutrinoApp::getInstance()->handleMsg(msg, data);
if (!mp_info) if (!mp_info)
{ {
if (data == g_InfoViewer->getUpdateTimer()) { if (data == g_InfoViewer->getUpdateTimer()) {
@@ -953,12 +959,6 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
pb.paint(false); pb.paint(false);
} }
} }
if (data == fader.GetFadeTimer()) {
if (fader.FadeDone())
loop = false;
}
else
CNeutrinoApp::getInstance()->handleMsg(msg, data);
} }
break; break;
case NeutrinoMessages::EVT_CURRENTNEXT_EPG: case NeutrinoMessages::EVT_CURRENTNEXT_EPG: