- fix build raspi

Signed-off-by: GetAway <get-away@t-online.de>
This commit is contained in:
max_10
2023-03-07 19:19:24 +01:00
committed by GetAway
parent 920bba65b2
commit 1c996435c8
4 changed files with 19 additions and 3 deletions

View File

@@ -78,6 +78,18 @@ int cVideo::setBlank(int)
return 1;
}
int cVideo::GetVideoSystem()
{
int current_video_system = VIDEO_STD_1080I50;
if (dec_w < 720)
current_video_system = VIDEO_STD_PAL;
else if (dec_w > 720 && dec_w <= 1280)
current_video_system = VIDEO_STD_720P50;
return current_video_system;
}
int cVideo::SetVideoSystem(int system, bool)
{
int h;