streaminfo2.cpp: show resolution in TS_MODE if no channel is tuned

Origin commit data
------------------
Branch: ni/coolstream
Commit: 307eea9fc7
Author: GetAway <get-away@t-online.de>
Date: 2018-11-13 (Tue, 13 Nov 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
GetAway
2018-11-13 20:52:29 +01:00
committed by vanhofen
parent 899c60593a
commit c44c807710

View File

@@ -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)