streaminfo: re-add osd resolution

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: f033e623c3
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-06 (Mon, 06 Nov 2017)

Origin message was:
------------------
- streaminfo: re-add osd resolution

Signed-off-by: Thilo Graf <dbt@novatux.de>


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-06 23:08:43 +01:00
committed by Thilo Graf
parent 6c03f2be05
commit 0b802512a0

View File

@@ -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 += ": ";