mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
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
Origin commit data
------------------
Commit: a122e25fc4
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-01-12 (Thu, 12 Jan 2012)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user