fix build raspi

Origin commit data
------------------
Branch: master
Commit: bb185c31b5
Author: max_10 <max_10@gmx.de>
Date: 2023-03-07 (Tue, 07 Mar 2023)

Origin message was:
------------------
- fix build raspi

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

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2023-03-07 19:19:24 +01:00
committed by vanhofen
parent dcef0ade84
commit 4bf144ff5b
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;