mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user