mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
Fix videosystem auto mode
Origin commit data
------------------
Commit: b612c1f620
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-03-28 (Tue, 28 Mar 2017)
This commit is contained in:
@@ -2995,7 +2995,8 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data)
|
||||
printf(">>>>>[CNeutrinoApp::%s:%d] Receive EVT_AUTO_SET_VIDEOSYSTEM message\n", __func__, __LINE__);
|
||||
COsdHelpers *coh = COsdHelpers::getInstance();
|
||||
int videoSystem = (int)data;
|
||||
if (coh->getVideoSystem() != videoSystem) {
|
||||
if ((videoSystem != -1) /* -1 => not enabled for automode */ &&
|
||||
(coh->getVideoSystem() != videoSystem)) {
|
||||
coh->setVideoSystem(videoSystem, false);
|
||||
if (frameBufferInitialized)
|
||||
coh->changeOsdResolution(0, true, false);
|
||||
|
Reference in New Issue
Block a user