mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +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
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