fix compile

Origin commit data
------------------
Branch: master
Commit: ad24fab431
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-06-18 (Sun, 18 Jun 2017)


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

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2017-06-18 13:15:35 +02:00
committed by TangoCash
parent 30c3cbd18f
commit 9cbb5d2b39
2 changed files with 13 additions and 0 deletions

View File

@@ -203,6 +203,18 @@ int cVideo::SetVideoSystem(int system, bool)
return 0;
}
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 0;
}
int cVideo::getPlayState(void)
{
return VIDEO_PLAYING;