mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
Enable screenshots; handle screenshot key in streaminfo
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2091 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 013ce5ce28
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-02-15 (Wed, 15 Feb 2012)
This commit is contained in:
@@ -230,6 +230,7 @@ public:
|
|||||||
int CloseVBI(void);
|
int CloseVBI(void);
|
||||||
int StartVBI(unsigned short pid);
|
int StartVBI(unsigned short pid);
|
||||||
int StopVBI(void);
|
int StopVBI(void);
|
||||||
|
bool GetScreenImage(unsigned char * &data, int &xres, int &yres, bool get_video = true, bool get_osd = false, bool scale_to_video = false);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __VIDEO_CS_H_
|
#endif // __VIDEO_CS_H_
|
||||||
|
@@ -79,7 +79,7 @@ bool CScreenShot::GetData()
|
|||||||
CFrameBuffer::getInstance()->setActive(false);
|
CFrameBuffer::getInstance()->setActive(false);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0 // 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
|
||||||
|
|
||||||
|
@@ -246,6 +246,10 @@ int CStreamInfo2::doSignalStrengthLoop ()
|
|||||||
res = menu_return::RETURN_EXIT_ALL;
|
res = menu_return::RETURN_EXIT_ALL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
else if (msg == (neutrino_msg_t) g_settings.key_screenshot) {
|
||||||
|
CNeutrinoApp::getInstance ()->handleMsg (msg, data);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// -- any key --> abort
|
// -- any key --> abort
|
||||||
if (msg <= CRCInput::RC_MaxRC) {
|
if (msg <= CRCInput::RC_MaxRC) {
|
||||||
|
Reference in New Issue
Block a user