mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +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<bool> OnBeforeRestart;
|
||||||
sigc::signal<void> OnAfterSetupFonts;
|
sigc::signal<void> OnAfterSetupFonts;
|
||||||
void channelRezap();
|
void channelRezap();
|
||||||
|
|
||||||
|
void g_settings_video_Mode(int value) { g_settings.video_Mode = value; }
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -75,6 +75,8 @@
|
|||||||
#include <libtuxtxt/teletext.h>
|
#include <libtuxtxt/teletext.h>
|
||||||
#include <OpenThreads/ScopedLock>
|
#include <OpenThreads/ScopedLock>
|
||||||
|
|
||||||
|
#include <neutrino.h>
|
||||||
|
|
||||||
/* globals */
|
/* globals */
|
||||||
int sig_delay = 2; // seconds between signal check
|
int sig_delay = 2; // seconds between signal check
|
||||||
|
|
||||||
@@ -1653,14 +1655,13 @@ bool CZapit::ParseCommand(CBasicMessage::Header &rmsg, int connfd)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
case CZapitMessages::CMD_SET_VIDEO_SYSTEM: {
|
case CZapitMessages::CMD_SET_VIDEO_SYSTEM: {
|
||||||
CZapitMessages::commandInt msg;
|
CZapitMessages::commandInt msg;
|
||||||
CBasicServer::receive_data(connfd, &msg, sizeof(msg));
|
CBasicServer::receive_data(connfd, &msg, sizeof(msg));
|
||||||
videoDecoder->SetVideoSystem(msg.val);
|
videoDecoder->SetVideoSystem(msg.val);
|
||||||
|
CNeutrinoApp::getInstance()->g_settings_video_Mode(msg.val);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
#if 0
|
#if 0
|
||||||
case CZapitMessages::CMD_SET_NTSC: {
|
case CZapitMessages::CMD_SET_NTSC: {
|
||||||
videoDecoder->SetVideoSystem(8);
|
videoDecoder->SetVideoSystem(8);
|
||||||
|
Reference in New Issue
Block a user