From 967f9f8ef43d60133df269320707d3ededeaf7eb Mon Sep 17 00:00:00 2001 From: micha-bbg Date: Sun, 11 Nov 2012 02:41:51 +0100 Subject: [PATCH] - infoviewer/streaminfo2: fix resolution 1080 --- src/gui/infoviewer_bb.cpp | 2 ++ src/gui/streaminfo2.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/gui/infoviewer_bb.cpp b/src/gui/infoviewer_bb.cpp index efba7b31f..58edd77a7 100644 --- a/src/gui/infoviewer_bb.cpp +++ b/src/gui/infoviewer_bb.cpp @@ -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; diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index 94357d8b6..b9b01188f 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -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(); }