mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
cec-setup: fix item mode when switching cec on/off
Origin commit data
------------------
Commit: da864d3bcb
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-10-14 (Sun, 14 Oct 2018)
Origin message was:
------------------
- cec-setup: fix item mode when switching cec on/off
This commit is contained in:
@@ -54,6 +54,7 @@ CCECSetup::CCECSetup()
|
|||||||
width = 40;
|
width = 40;
|
||||||
cec1 = NULL;
|
cec1 = NULL;
|
||||||
cec2 = NULL;
|
cec2 = NULL;
|
||||||
|
cec3 = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
CCECSetup::~CCECSetup()
|
CCECSetup::~CCECSetup()
|
||||||
@@ -132,6 +133,7 @@ bool CCECSetup::changeNotify(const neutrino_locale_t OptionName, void * /*data*/
|
|||||||
printf("[neutrino CEC Settings] %s set CEC settings...\n", __FUNCTION__);
|
printf("[neutrino CEC Settings] %s set CEC settings...\n", __FUNCTION__);
|
||||||
cec1->setActive(g_settings.hdmi_cec_mode != VIDEO_HDMI_CEC_MODE_OFF);
|
cec1->setActive(g_settings.hdmi_cec_mode != VIDEO_HDMI_CEC_MODE_OFF);
|
||||||
cec2->setActive(g_settings.hdmi_cec_mode != VIDEO_HDMI_CEC_MODE_OFF);
|
cec2->setActive(g_settings.hdmi_cec_mode != VIDEO_HDMI_CEC_MODE_OFF);
|
||||||
|
cec3->setActive(g_settings.hdmi_cec_mode != VIDEO_HDMI_CEC_MODE_OFF);
|
||||||
videoDecoder->SetCECMode((VIDEO_HDMI_CEC_MODE)g_settings.hdmi_cec_mode);
|
videoDecoder->SetCECMode((VIDEO_HDMI_CEC_MODE)g_settings.hdmi_cec_mode);
|
||||||
}
|
}
|
||||||
else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_VIDEOMENU_HDMI_CEC_STANDBY))
|
else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_VIDEOMENU_HDMI_CEC_STANDBY))
|
||||||
|
Reference in New Issue
Block a user