From a122e25fc483f504afb67983d5a60287d1c05756 Mon Sep 17 00:00:00 2001 From: focus Date: Thu, 12 Jan 2012 15:17:04 +0000 Subject: [PATCH] neutrino: handle screenshot key in handleMsg to dump video+osd git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2056 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/neutrino.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index a962b326b..35c043b6d 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2482,6 +2482,14 @@ _repeat: g_videoSettings->SwitchFormat(); return messages_return::handled; } + else if (msg == (neutrino_msg_t) g_settings.key_screenshot) { + //video+osd scaled to osd size + CScreenShot * sc = new CScreenShot("", (CScreenShot::screenshot_format_t)g_settings.screenshot_format); + sc->EnableOSD(true); + sc->MakeFileName(CZapit::getInstance()->GetCurrentChannelID()); + sc->Start(); + } + /* ================================== MESSAGES ================================================ */ else if (msg == NeutrinoMessages::EVT_VOLCHANGED) { //setVolume(msg, false, true);