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:
Michael Liebmann
2012-11-11 02:41:51 +01:00
parent 25278d8398
commit 5a80620e0b
2 changed files with 4 additions and 0 deletions

View File

@@ -499,6 +499,7 @@ void CInfoViewerBB::showIcon_Resolution()
icon_name = NEUTRINO_ICON_RESOLUTION_1920;
break;
case 1080:
case 1088:
icon_name = NEUTRINO_ICON_RESOLUTION_1080;
break;
case 1440:
@@ -546,6 +547,7 @@ void CInfoViewerBB::showIcon_Resolution()
case 1440:
case 1280:
case 1080:
case 1088:
case 720:
icon_name = NEUTRINO_ICON_RESOLUTION_HD;
break;

View File

@@ -473,6 +473,8 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
if(channel->getVideoPid() && !(videoDecoder->getBlank())){
videoDecoder->getPictureInfo(xres, yres, framerate);
if (yres == 1088)
yres = 1080;
aspectRatio = videoDecoder->getAspectRatio();
}