From 5ef7eb27a15b59181c9cea9ea7035cf109f1bc09 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 3 Mar 2016 09:04:14 +0100 Subject: [PATCH] infoviewer: we don't have starttimes in livestream mode Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/8a12d3ef8d62cc0dbee3f3c889c8198b748ac52d Author: vanhofen Date: 2016-03-03 (Thu, 03 Mar 2016) Origin message was: ------------------ - infoviewer: we don't have starttimes in livestream mode ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/infoviewer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index d18b55e33..0636a5eba 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -981,7 +981,7 @@ bool CInfoViewer::showLivestreamInfo() } if (livestreamInfo1 != _livestreamInfo1 || livestreamInfo2 != _livestreamInfo2) { - display_Info(livestreamInfo1.c_str(), livestreamInfo2.c_str()); + display_Info(livestreamInfo1.c_str(), livestreamInfo2.c_str(), false); _livestreamInfo1 = livestreamInfo1; _livestreamInfo2 = livestreamInfo2; infoViewerBB->showBBButtons(true /*paintFooter*/); @@ -1770,7 +1770,7 @@ void CInfoViewer::display_Info(const char *current, const char *next, txt_cur_event->hide(); txt_cur_event->paint(CC_SAVE_SCREEN_YES); - if (runningStart){ + if (runningStart && starttimes){ if (txt_cur_start == NULL) txt_cur_start = new CComponentsTextTransp(NULL, InfoX, CurrInfoY - height, info_time_width, height); else @@ -1805,7 +1805,7 @@ void CInfoViewer::display_Info(const char *current, const char *next, txt_next_event->hide(); txt_next_event->paint(CC_SAVE_SCREEN_YES); - if (nextStart){ + if (nextStart && starttimes){ if (txt_next_start == NULL) txt_next_start = new CComponentsTextTransp(NULL, InfoX, NextInfoY, info_time_width, height); else