added 480i resolution

This commit is contained in:
louis 2016-02-14 15:38:02 +01:00
parent 8d69d73895
commit 210dc8d8cc
3 changed files with 5 additions and 2 deletions

View File

@ -216,6 +216,9 @@ string GetScreenResolutionString(int width, int height, bool *isHD) {
case 720: case 720:
name = "sd576i"; name = "sd576i";
break; break;
case 544:
name = "sd480i";
break;
default: default:
name = "sd576i"; name = "sd576i";
break; break;

View File

@ -90,7 +90,7 @@
<!-- Available Variables screenresolution: <!-- Available Variables screenresolution:
{screenwidth} width of currently displayed channel in px {screenwidth} width of currently displayed channel in px
{screenheight} height 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 {aspect} screen aspect, each 4:3, 16:9 or 21:9
{isHD} true for hd1080i and hd720p {isHD} true for hd1080i and hd720p
{isWideScreen} true if aspect is 16:9 or 21:9 {isWideScreen} true if aspect is 16:9 or 21:9

View File

@ -63,7 +63,7 @@
<!-- Available Variables recinfo: <!-- Available Variables recinfo:
{screenwidth} width of currently displayed recording in px {screenwidth} width of currently displayed recording in px
{screenheight} height 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 {aspect} screen aspect, each 4:3, 16:9 or 21:9
{isHD} true for hd1080i and hd720p {isHD} true for hd1080i and hd720p
{isWideScreen} true if aspect is 16:9 or 21:9 {isWideScreen} true if aspect is 16:9 or 21:9