align videomodes

Origin commit data
------------------
Branch: master
Commit: b66a63553b
Author: TangoCash <eric@loxat.de>
Date: 2017-06-09 (Fri, 09 Jun 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2017-06-09 14:01:47 +02:00
parent 6c74b8f4c5
commit 59fc4f222f

View File

@@ -368,7 +368,8 @@ int cVideo::GetVideoSystem()
"1080p50", // VIDEO_STD_1080P50 "1080p50", // VIDEO_STD_1080P50
"1080p60", // VIDEO_STD_1080P60 "1080p60", // VIDEO_STD_1080P60
"1080p2397", // VIDEO_STD_1080P2397 "1080p2397", // VIDEO_STD_1080P2397
"1080p2997" // VIDEO_STD_1080P2997 "1080p2997", // VIDEO_STD_1080P2997
"720p50" // VIDEO_STD_AUTO
}; };
int ret = proc_get("/proc/stb/video/videomode", current, 32); int ret = proc_get("/proc/stb/video/videomode", current, 32);
@@ -399,8 +400,11 @@ int cVideo::SetVideoSystem(int video_system, bool remember)
"1080p30", // VIDEO_STD_1080P30 "1080p30", // VIDEO_STD_1080P30
"1080p24", // VIDEO_STD_1080P24 "1080p24", // VIDEO_STD_1080P24
"1080p25", // VIDEO_STD_1080P25 "1080p25", // VIDEO_STD_1080P25
"720p50", // VIDEO_STD_AUTO -> not implemented "1080p50", // VIDEO_STD_1080P50
"1080p50" // VIDEO_STD_1080P50 -> SPARK only "1080p60", // VIDEO_STD_1080P60
"1080p2397", // VIDEO_STD_1080P2397
"1080p2997", // VIDEO_STD_1080P2997
"720p50" // VIDEO_STD_AUTO
}; };
if (video_system > VIDEO_STD_MAX) if (video_system > VIDEO_STD_MAX)