From 50990ae5fa85b81df404a782d0e42e4558c34ced Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sun, 1 Aug 2010 15:19:38 +0000 Subject: [PATCH] change to yres git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@697 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/3601cd9109b5337077e5c86305cf73cf34541b8a Author: Jacek Jendrzej Date: 2010-08-01 (Sun, 01 Aug 2010) ------------------ This commit was generated by Migit --- src/gui/infoviewer.cpp | 8 +++++++- src/gui/widget/icons.h | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index eea591169..815a5c6d5 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -942,10 +942,13 @@ void CInfoViewer::showIcon_Resolution() const } else{ videoDecoder->getPictureInfo(xres, yres, framerate); - switch(xres){ + switch(yres){ case 1920: icon_name = NEUTRINO_ICON_RESOLUTION_1920; break; + case 1088: + icon_name = NEUTRINO_ICON_RESOLUTION_1080; + break; case 1440: icon_name = NEUTRINO_ICON_RESOLUTION_1440; break; @@ -958,6 +961,9 @@ void CInfoViewer::showIcon_Resolution() const case 704: icon_name = NEUTRINO_ICON_RESOLUTION_704; break; + case 576: + icon_name = NEUTRINO_ICON_RESOLUTION_576; + break; case 544: icon_name = NEUTRINO_ICON_RESOLUTION_544; break; diff --git a/src/gui/widget/icons.h b/src/gui/widget/icons.h index 7e240024b..70f188558 100644 --- a/src/gui/widget/icons.h +++ b/src/gui/widget/icons.h @@ -120,10 +120,12 @@ #define NEUTRINO_ICON_LCD "lcd" #define NEUTRINO_ICON_VOLUME "volume" #define NEUTRINO_ICON_RESOLUTION_1920 "res_1920" +#define NEUTRINO_ICON_RESOLUTION_1080 "res_1080" #define NEUTRINO_ICON_RESOLUTION_1440 "res_1440" #define NEUTRINO_ICON_RESOLUTION_1280 "res_1280" #define NEUTRINO_ICON_RESOLUTION_720 "res_720" #define NEUTRINO_ICON_RESOLUTION_704 "res_704" +#define NEUTRINO_ICON_RESOLUTION_576 "res_576" #define NEUTRINO_ICON_RESOLUTION_544 "res_544" #define NEUTRINO_ICON_RESOLUTION_528 "res_528" #define NEUTRINO_ICON_RESOLUTION_480 "res_480"