mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +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
This commit is contained in:
@@ -230,6 +230,7 @@ public:
|
||||
int CloseVBI(void);
|
||||
int StartVBI(unsigned short pid);
|
||||
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_
|
||||
|
@@ -79,7 +79,7 @@ bool CScreenShot::GetData()
|
||||
CFrameBuffer::getInstance()->setActive(false);
|
||||
#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);
|
||||
#endif
|
||||
|
||||
|
@@ -246,6 +246,10 @@ int CStreamInfo2::doSignalStrengthLoop ()
|
||||
res = menu_return::RETURN_EXIT_ALL;
|
||||
break;
|
||||
}
|
||||
else if (msg == (neutrino_msg_t) g_settings.key_screenshot) {
|
||||
CNeutrinoApp::getInstance ()->handleMsg (msg, data);
|
||||
continue;
|
||||
}
|
||||
|
||||
// -- any key --> abort
|
||||
if (msg <= CRCInput::RC_MaxRC) {
|
||||
|
Reference in New Issue
Block a user