screenshot: -fix if no video

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2118 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2012-02-22 15:23:41 +00:00
parent f7529a47a9
commit 5235d99b31

View File

@@ -78,7 +78,8 @@ bool CScreenShot::GetData()
#ifdef USE_NEVIS_GXA #ifdef USE_NEVIS_GXA
CFrameBuffer::getInstance()->setActive(false); CFrameBuffer::getInstance()->setActive(false);
#endif #endif
if (videoDecoder->getBlank())
get_video = false;
#if 1 // to enable after libcs/drivers update #if 1 // to enable after libcs/drivers update
res = videoDecoder->GetScreenImage(pixel_data, xres, yres, get_video, get_osd, scale_to_video); res = videoDecoder->GetScreenImage(pixel_data, xres, yres, get_video, get_osd, scale_to_video);
#endif #endif