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: 5235d99b31
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-02-22 (Wed, 22 Feb 2012)



------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2012-02-22 15:23:41 +00:00
parent 472c1cb941
commit c64e413d97

View File

@@ -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