mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
pzapit: fix change video mode; tell neutrino about the new value
Origin commit data
------------------
Commit: 8d1710bb07
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-14 (Wed, 14 Sep 2016)
Origin message was:
------------------
- 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