summaryrefslogtreecommitdiff
path: root/displayreplay.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-07-10 14:42:41 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-07-12 14:00:56 +0200
commitfdcad235c08d27bd114c660539b47f4b50ffcfc2 (patch)
treed6844434c2c630dee3ea8c0bb7e38ce96597d3bc /displayreplay.c
parente3678982b816da0e447aa16d378db497cfd0e211 (diff)
downloadskin-nopacity-fdcad235c08d27bd114c660539b47f4b50ffcfc2.tar.gz
skin-nopacity-fdcad235c08d27bd114c660539b47f4b50ffcfc2.tar.bz2
Add new icons
- add icon "recordingerror" to show recordings with TS errors - add icon "uhd4k" to show 4k video resolution
Diffstat (limited to 'displayreplay.c')
-rw-r--r--displayreplay.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/displayreplay.c b/displayreplay.c
index 3dd578c..0f583bd 100644
--- a/displayreplay.c
+++ b/displayreplay.c
@@ -273,8 +273,13 @@ void cNopacityDisplayReplay::DrawScreenResolution(void) {
int screenHeight = 0;
double aspect = 0;
cDevice::PrimaryDevice()->GetVideoSize(screenWidth, screenHeight, aspect);
+// esyslog ("skinnopacity: %s %s %d %ix%i\n", __FILE__, __func__, __LINE__, screenWidth, screenHeight);
cString iconName("");
switch (screenWidth) {
+ case 4320: // 7680 x 4320 = 8K UHD
+ case 2160: // 3840 x 2160 = 4K UHD
+ iconName = "skinIcons/uhd4k";
+ break;
case 1920:
case 1440:
iconName = "skinIcons/hd1080i_rec";