mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
fix compile
This commit is contained in:
@@ -203,6 +203,18 @@ int cVideo::SetVideoSystem(int system, bool)
|
|||||||
return 0;
|
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)
|
int cVideo::getPlayState(void)
|
||||||
{
|
{
|
||||||
return VIDEO_PLAYING;
|
return VIDEO_PLAYING;
|
||||||
|
@@ -177,6 +177,7 @@ class cVideo : public Thread
|
|||||||
|
|
||||||
/* set video_system */
|
/* set video_system */
|
||||||
int SetVideoSystem(int video_system, bool remember = true);
|
int SetVideoSystem(int video_system, bool remember = true);
|
||||||
|
int GetVideoSystem();
|
||||||
int SetStreamType(VIDEO_FORMAT type);
|
int SetStreamType(VIDEO_FORMAT type);
|
||||||
void SetSyncMode(AVSYNC_TYPE mode);
|
void SetSyncMode(AVSYNC_TYPE mode);
|
||||||
bool SetCECMode(VIDEO_HDMI_CEC_MODE) { return true; };
|
bool SetCECMode(VIDEO_HDMI_CEC_MODE) { return true; };
|
||||||
|
Reference in New Issue
Block a user