summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2016-02-14 15:38:02 +0100
committerlouis <louis.braun@gmx.de>2016-02-14 15:38:02 +0100
commit210dc8d8ccabe8d038404a2cedfd033d92589b0b (patch)
treeecd142c390735b1b7c5dc014fd84dd662d7113b5
parent8d69d738954d30a3c2357df862b6256ebc637c22 (diff)
downloadvdr-plugin-skindesigner-210dc8d8ccabe8d038404a2cedfd033d92589b0b.tar.gz
vdr-plugin-skindesigner-210dc8d8ccabe8d038404a2cedfd033d92589b0b.tar.bz2
added 480i resolution
-rw-r--r--extensions/helpers.c3
-rw-r--r--skinskeleton/xmlfiles/displaychannel.xml2
-rw-r--r--skinskeleton/xmlfiles/displayreplay.xml2
3 files changed, 5 insertions, 2 deletions
diff --git a/extensions/helpers.c b/extensions/helpers.c
index 00c13d2..5c84094 100644
--- a/extensions/helpers.c
+++ b/extensions/helpers.c
@@ -216,6 +216,9 @@ string GetScreenResolutionString(int width, int height, bool *isHD) {
case 720:
name = "sd576i";
break;
+ case 544:
+ name = "sd480i";
+ break;
default:
name = "sd576i";
break;
diff --git a/skinskeleton/xmlfiles/displaychannel.xml b/skinskeleton/xmlfiles/displaychannel.xml
index c4519dd..d8b1bba 100644
--- a/skinskeleton/xmlfiles/displaychannel.xml
+++ b/skinskeleton/xmlfiles/displaychannel.xml
@@ -90,7 +90,7 @@
<!-- Available Variables screenresolution:
{screenwidth} width of currently displayed channel in px
{screenheight} height of currently displayed channel in px
- {resolution} resolution: hd1080i, hd720p, sd576i
+ {resolution} resolution: hd1080i, hd720p, sd576i, sd480i
{aspect} screen aspect, each 4:3, 16:9 or 21:9
{isHD} true for hd1080i and hd720p
{isWideScreen} true if aspect is 16:9 or 21:9
diff --git a/skinskeleton/xmlfiles/displayreplay.xml b/skinskeleton/xmlfiles/displayreplay.xml
index 908ee0f..7dea914 100644
--- a/skinskeleton/xmlfiles/displayreplay.xml
+++ b/skinskeleton/xmlfiles/displayreplay.xml
@@ -63,7 +63,7 @@
<!-- Available Variables recinfo:
{screenwidth} width of currently displayed recording in px
{screenheight} height of currently displayed recording in px
- {resolution} resolution: hd1080i, hd720p, sd576i
+ {resolution} resolution: hd1080i, hd720p, sd576i, sd480i
{aspect} screen aspect, each 4:3, 16:9 or 21:9
{isHD} true for hd1080i and hd720p
{isWideScreen} true if aspect is 16:9 or 21:9