Changes for CEC.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@607 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 54c12db9cc
Author: nightshad <nightshad@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2010-05-28 (Fri, 28 May 2010)



------------------
This commit was generated by Migit
This commit is contained in:
nightshad
2010-05-28 15:23:25 +00:00
parent 3bf6542264
commit 967e4bd826
3 changed files with 8 additions and 5 deletions

View File

@@ -2412,6 +2412,10 @@ int CNeutrinoApp::run(int argc, char **argv)
audioDecoder->EnableAnalogOut(g_settings.analog_out ? true : false);
videoDecoder->SetDBDR(g_settings.video_dbdr);
videoDecoder->SetCECAutoStandby(g_settings.hdmi_cec_standby == 1);
videoDecoder->SetCECAutoView(g_settings.hdmi_cec_view_on == 1);
videoDecoder->SetCECMode((VIDEO_HDMI_CEC_MODE)g_settings.hdmi_cec_mode);
audioSetupNotifier->changeNotify(LOCALE_AUDIOMENU_AVSYNC, NULL);
if(display_language_selection)

View File

@@ -437,18 +437,16 @@ bool CVideoSettings::changeNotify(const neutrino_locale_t OptionName, void *)
{
cec1->setActive(g_settings.hdmi_cec_mode != VIDEO_HDMI_CEC_MODE_OFF);
cec2->setActive(g_settings.hdmi_cec_mode != VIDEO_HDMI_CEC_MODE_OFF);
videoDecoder->SetCEC((VIDEO_HDMI_CEC_MODE)g_settings.hdmi_cec_mode);
videoDecoder->SetCECMode((VIDEO_HDMI_CEC_MODE)g_settings.hdmi_cec_mode);
}
#if 0
else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_VIDEOMENU_HDMI_CEC_STANDBY))
{
videoDecoder->enableCECStandby(g_settings.hdmi_cec_standby);
videoDecoder->SetCECAutoStandby(g_settings.hdmi_cec_standby == 1);
}
else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_VIDEOMENU_HDMI_CEC_VIEW_ON))
{
videoDecoder->enableCECView(g_settings.hdmi_cec_view_on);
videoDecoder->SetCECAutoView(g_settings.hdmi_cec_view_on == 1);
}
#endif
else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_VIDEOMENU_DBDR))
{
videoDecoder->SetDBDR(g_settings.video_dbdr);

View File

@@ -2106,6 +2106,7 @@ int zapit_main_thread(void *data)
pcrDemux->Open(DMX_PCR_ONLY_CHANNEL, videoDemux->getBuffer());
videoDecoder = new cVideo(2, videoDemux->getChannel(), videoDemux->getBuffer());//PAL
videoDecoder->Standby(false);
videoDecoder->SetVideoSystem(video_mode);
//videoDecoder = new cVideo(video_mode, videoDemux->getChannel(), videoDemux->getBuffer());//PAL