mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +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();
|
g_videoSettings->SwitchFormat();
|
||||||
return messages_return::handled;
|
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 ================================================ */
|
/* ================================== MESSAGES ================================================ */
|
||||||
else if (msg == NeutrinoMessages::EVT_VOLCHANGED) {
|
else if (msg == NeutrinoMessages::EVT_VOLCHANGED) {
|
||||||
//setVolume(msg, false, true);
|
//setVolume(msg, false, true);
|
||||||
|
Reference in New Issue
Block a user