mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 15:33:00 +02:00
add GetVideoSystem()
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user