mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
src/neutrino.cpp: Simplification EVT_AUTO_SET_VIDEOSYSTEM handling
Origin commit data
------------------
Branch: ni/coolstream
Commit: ea18657562
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-03-23 (Thu, 23 Mar 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2995,16 +2995,11 @@ 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)
|
||||
return messages_return::handled;
|
||||
|
||||
if (!frameBufferInitialized) {
|
||||
if (coh->getVideoSystem() != videoSystem) {
|
||||
coh->setVideoSystem(videoSystem, false);
|
||||
return messages_return::handled;
|
||||
if (frameBufferInitialized)
|
||||
coh->changeOsdResolution(0, true, false);
|
||||
}
|
||||
|
||||
coh->setVideoSystem(videoSystem, false);
|
||||
coh->changeOsdResolution(0, true, false);
|
||||
return messages_return::handled;
|
||||
}
|
||||
if(msg == NeutrinoMessages::EVT_ZAP_COMPLETE) {
|
||||
|
Reference in New Issue
Block a user