From a3e9933a5eabd96f9c104ce0a197d6255aedde45 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 6 Nov 2017 23:08:43 +0100 Subject: [PATCH] streaminfo: re-add osd resolution Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/fc12241af7584ff9f45a758ba881f1988ede0ed9 Author: vanhofen Date: 2017-11-06 (Mon, 06 Nov 2017) Origin message was: ------------------ - streaminfo: re-add osd resolution --- src/gui/streaminfo2.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index aaaa4c8de..1ce566f59 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -952,6 +952,14 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos) } } + // osd resolution + r.key = g_Locale->getText(LOCALE_STREAMINFO_OSD_RESOLUTION); + r.key += ": "; + snprintf(buf, sizeof(buf), "%dx%d", frameBuffer->getScreenWidth(true), frameBuffer->getScreenHeight(true)); + r.val = buf; + r.col = COL_MENUCONTENT_TEXT; + v.push_back(r); + // aspect ratio r.key = g_Locale->getText (LOCALE_STREAMINFO_ARATIO); r.key += ": ";