From e8be660b0908dcc024a14ecaf686bcf497b1a381 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 4 Feb 2014 17:41:58 +0400 Subject: [PATCH] gui/infoviewer.cpp: restore channel id in showMovieTitle(), else infoviewer do not process some events after playback stop --- src/gui/infoviewer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index 072e7288c..1c13e020c 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -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()