gui/infoviewer.cpp: restore channel id in showMovieTitle(),

else infoviewer do not process some events after playback stop
This commit is contained in:
[CST] Focus
2014-02-04 17:41:58 +04:00
parent e68b207154
commit e8be660b09

View File

@@ -504,6 +504,7 @@ void CInfoViewer::showMovieTitle(const int playState, const t_channel_id &Channe
infoViewerBB->is_visible = true;
ChannelName = Channel;
t_channel_id old_channel_id = channel_id;
channel_id = Channel_Id;
/* showChannelLogo() changes this, so better reset it every time... */
@@ -583,6 +584,7 @@ void CInfoViewer::showMovieTitle(const int playState, const t_channel_id &Channe
loop(show_dot);
aspectRatio = 0;
fileplay = 0;
channel_id = old_channel_id;
}
void CInfoViewer::reset_allScala()