From 89bd4b00c4106949a0f335bce875533ec9dbb468 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Wed, 15 Mar 2017 19:07:35 +0100 Subject: [PATCH] add GetScreenImage to cVideo --- generic-pc/video.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/generic-pc/video.cpp b/generic-pc/video.cpp index f411d5f..f8d9fb9 100644 --- a/generic-pc/video.cpp +++ b/generic-pc/video.cpp @@ -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) {