From c64e413d977d47bba3a3d6d2e260723307d9ed14 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej 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 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/5235d99b31a65794b650660c63a0be6b2343b1bd Author: Jacek Jendrzej Date: 2012-02-22 (Wed, 22 Feb 2012) ------------------ This commit was generated by Migit --- 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