mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-29 16:31:12 +02:00
add GetScreenImage to cVideo
This commit is contained in:
@@ -704,6 +704,10 @@ static bool swscale(unsigned char *src, unsigned char *dst, int sw, int sh, int
|
||||
sws_freeContext(scale);
|
||||
return ret;
|
||||
}
|
||||
bool cVideo::GetScreenImage(unsigned char * &data, int &xres, int &yres, bool get_video, bool get_osd, bool scale_to_video)
|
||||
{
|
||||
return vdec->GetScreenImage(data, xres,yres,get_video,get_osd,scale_to_video);
|
||||
}
|
||||
|
||||
bool VDec::GetScreenImage(unsigned char * &data, int &xres, int &yres, bool get_video, bool get_osd, bool scale_to_video)
|
||||
{
|
||||
|
Reference in New Issue
Block a user