mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
streaminfo: re-add osd resolution
Origin commit data
------------------
Commit: fc12241af7
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-06 (Mon, 06 Nov 2017)
Origin message was:
------------------
- streaminfo: re-add osd resolution
This commit is contained in:
@@ -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 += ": ";
|
||||
|
Reference in New Issue
Block a user