mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
streaminfo2.cpp: show resolution in TS_MODE if no channel is tuned
This commit is contained in:
@@ -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);
|
videoDecoder->getPictureInfo(xres, yres, framerate);
|
||||||
if (yres == 1088)
|
if (yres == 1088)
|
||||||
|
Reference in New Issue
Block a user