mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
infoviewer/streaminfo2: fix resolution 1080
Origin commit data
------------------
Commit: 967f9f8ef4
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-11-11 (Sun, 11 Nov 2012)
Origin message was:
------------------
- infoviewer/streaminfo2: fix resolution 1080
This commit is contained in:
@@ -499,6 +499,7 @@ void CInfoViewerBB::showIcon_Resolution()
|
|||||||
icon_name = NEUTRINO_ICON_RESOLUTION_1920;
|
icon_name = NEUTRINO_ICON_RESOLUTION_1920;
|
||||||
break;
|
break;
|
||||||
case 1080:
|
case 1080:
|
||||||
|
case 1088:
|
||||||
icon_name = NEUTRINO_ICON_RESOLUTION_1080;
|
icon_name = NEUTRINO_ICON_RESOLUTION_1080;
|
||||||
break;
|
break;
|
||||||
case 1440:
|
case 1440:
|
||||||
@@ -546,6 +547,7 @@ void CInfoViewerBB::showIcon_Resolution()
|
|||||||
case 1440:
|
case 1440:
|
||||||
case 1280:
|
case 1280:
|
||||||
case 1080:
|
case 1080:
|
||||||
|
case 1088:
|
||||||
case 720:
|
case 720:
|
||||||
icon_name = NEUTRINO_ICON_RESOLUTION_HD;
|
icon_name = NEUTRINO_ICON_RESOLUTION_HD;
|
||||||
break;
|
break;
|
||||||
|
@@ -473,6 +473,8 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
|
|||||||
|
|
||||||
if(channel->getVideoPid() && !(videoDecoder->getBlank())){
|
if(channel->getVideoPid() && !(videoDecoder->getBlank())){
|
||||||
videoDecoder->getPictureInfo(xres, yres, framerate);
|
videoDecoder->getPictureInfo(xres, yres, framerate);
|
||||||
|
if (yres == 1088)
|
||||||
|
yres = 1080;
|
||||||
aspectRatio = videoDecoder->getAspectRatio();
|
aspectRatio = videoDecoder->getAspectRatio();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user