mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
streaminfo1.cpp: show resolution in TS_MODE if no channel is tuned
Origin commit data
------------------
Commit: 806b4c78c6
Author: GetAway <get-away@t-online.de>
Date: 2018-10-20 (Sat, 20 Oct 2018)
This commit is contained in:
@@ -549,11 +549,16 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
|
|||||||
average_bitrate_offset = spaceoffset;
|
average_bitrate_offset = spaceoffset;
|
||||||
int box_width2 = box_width-(spaceoffset+xpos);
|
int box_width2 = box_width-(spaceoffset+xpos);
|
||||||
|
|
||||||
if((channel->getVideoPid() || (IS_WEBCHAN(channel->getChannelID()) && CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv)) && !(videoDecoder->getBlank())){
|
int _mode = CNeutrinoApp::getInstance()->getMode();
|
||||||
videoDecoder->getPictureInfo(xres, yres, framerate);
|
if ((channel->getVideoPid() ||
|
||||||
if (yres == 1088)
|
(IS_WEBCHAN(channel->getChannelID()) && _mode == NeutrinoModes::mode_webtv) ||
|
||||||
yres = 1080;
|
_mode == NeutrinoModes::mode_ts) &&
|
||||||
aspectRatio = videoDecoder->getAspectRatio();
|
!(videoDecoder->getBlank()))
|
||||||
|
{
|
||||||
|
videoDecoder->getPictureInfo(xres, yres, framerate);
|
||||||
|
if (yres == 1088)
|
||||||
|
yres = 1080;
|
||||||
|
aspectRatio = videoDecoder->getAspectRatio();
|
||||||
}
|
}
|
||||||
|
|
||||||
//Video RESOLUTION
|
//Video RESOLUTION
|
||||||
|
Reference in New Issue
Block a user