add GetVideoSystem()

This commit is contained in:
Jacek Jendrzej
2017-06-18 13:15:35 +02:00
parent d1569e6114
commit 41212e3c1a
3 changed files with 20 additions and 0 deletions

View File

@@ -211,6 +211,23 @@ int cVideo::setBlank(int)
return 1;
}
int cVideo::GetVideoSystem()
{
return vdec->GetVideoSystem();
}
int VDec::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 0;
}
int cVideo::SetVideoSystem(int system, bool)
{
return vdec->SetVideoSystem(system);