mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
- pzapit: fix change video mode; tell neutrino about the new value
This commit is contained in:
@@ -242,6 +242,8 @@ public:
|
||||
sigc::signal<bool> OnBeforeRestart;
|
||||
sigc::signal<void> OnAfterSetupFonts;
|
||||
void channelRezap();
|
||||
|
||||
void g_settings_video_Mode(int value) { g_settings.video_Mode = value; }
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@@ -75,6 +75,8 @@
|
||||
#include <libtuxtxt/teletext.h>
|
||||
#include <OpenThreads/ScopedLock>
|
||||
|
||||
#include <neutrino.h>
|
||||
|
||||
/* globals */
|
||||
int sig_delay = 2; // seconds between signal check
|
||||
|
||||
@@ -1653,14 +1655,13 @@ bool CZapit::ParseCommand(CBasicMessage::Header &rmsg, int connfd)
|
||||
}
|
||||
break;
|
||||
}
|
||||
#if 0
|
||||
case CZapitMessages::CMD_SET_VIDEO_SYSTEM: {
|
||||
CZapitMessages::commandInt msg;
|
||||
CBasicServer::receive_data(connfd, &msg, sizeof(msg));
|
||||
videoDecoder->SetVideoSystem(msg.val);
|
||||
CNeutrinoApp::getInstance()->g_settings_video_Mode(msg.val);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
#if 0
|
||||
case CZapitMessages::CMD_SET_NTSC: {
|
||||
videoDecoder->SetVideoSystem(8);
|
||||
|
Reference in New Issue
Block a user