From a6c77ece34128055818b32a4ffb65fff0da13cf5 Mon Sep 17 00:00:00 2001 From: GetAway Date: Tue, 13 Nov 2018 15:51:18 +0100 Subject: [PATCH] streaminfo2.cpp: show resolution in TS_MODE if no channel is tuned --- src/gui/streaminfo2.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index 65a877280..53ad19eda 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -945,7 +945,12 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos) } } - if (((mp && IS_WEBCHAN(channel->getChannelID()) && CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv) || channel->getVideoPid()) && !(videoDecoder->getBlank())) + + int _mode = CNeutrinoApp::getInstance()->getMode(); + if ((channel->getVideoPid() || + (IS_WEBCHAN(channel->getChannelID()) && _mode == NeutrinoModes::mode_webtv) || + _mode == NeutrinoModes::mode_ts) && + !(videoDecoder->getBlank())) { videoDecoder->getPictureInfo(xres, yres, framerate); if (yres == 1088)