diff --git a/lib/libcoolstream/video_cs.h b/lib/libcoolstream/video_cs.h index 5b3ca08a5..a80d59051 100644 --- a/lib/libcoolstream/video_cs.h +++ b/lib/libcoolstream/video_cs.h @@ -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_ diff --git a/src/driver/screenshot.cpp b/src/driver/screenshot.cpp index 35b6aa062..985af7f92 100644 --- a/src/driver/screenshot.cpp +++ b/src/driver/screenshot.cpp @@ -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 diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index 0515b2815..493b7451b 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -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) {