From f033e623c3d5f48130471df3439f0e81a6aa8bdb Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Mon, 6 Nov 2017 23:08:43 +0100 Subject: [PATCH] - streaminfo: re-add osd resolution Signed-off-by: Thilo Graf --- src/gui/streaminfo2.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index 8d6ad54e0..bd627f1b2 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 += ": ";