mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +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;
|
||||
int box_width2 = box_width-(spaceoffset+xpos);
|
||||
|
||||
if((channel->getVideoPid() || (IS_WEBCHAN(channel->getChannelID()) && CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv)) && !(videoDecoder->getBlank())){
|
||||
videoDecoder->getPictureInfo(xres, yres, framerate);
|
||||
if (yres == 1088)
|
||||
yres = 1080;
|
||||
aspectRatio = videoDecoder->getAspectRatio();
|
||||
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)
|
||||
yres = 1080;
|
||||
aspectRatio = videoDecoder->getAspectRatio();
|
||||
}
|
||||
|
||||
//Video RESOLUTION
|
||||
|
Reference in New Issue
Block a user