From 5235d99b31a65794b650660c63a0be6b2343b1bd Mon Sep 17 00:00:00 2001 From: satbaby Date: Wed, 22 Feb 2012 15:23:41 +0000 Subject: [PATCH] screenshot: -fix if no video git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2118 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/driver/screenshot.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/driver/screenshot.cpp b/src/driver/screenshot.cpp index 46e912a68..11c5e5100 100644 --- a/src/driver/screenshot.cpp +++ b/src/driver/screenshot.cpp @@ -78,7 +78,8 @@ bool CScreenShot::GetData() #ifdef USE_NEVIS_GXA CFrameBuffer::getInstance()->setActive(false); #endif - + if (videoDecoder->getBlank()) + get_video = false; #if 1 // to enable after libcs/drivers update res = videoDecoder->GetScreenImage(pixel_data, xres, yres, get_video, get_osd, scale_to_video); #endif