From 457d2727e16f7de91f1007f522660ff3310084b0 Mon Sep 17 00:00:00 2001 From: nightshad Date: Fri, 8 Oct 2010 07:29:19 +0000 Subject: [PATCH] Fix defaults for Scart and Cinch. Scart: RGB SD Cinch: YPrPb SD git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@822 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/neutrino.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index c7fb262eb..4cfe1ee2d 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -752,11 +752,10 @@ int CNeutrinoApp::loadSetup(const char * fname) parentallocked = true; checkParentallocked.close(); } - //video - g_settings.video_Mode = configfile.getInt32("video_Mode", VIDEO_STD_1080I50); // VIDEO_STD_720P50 - prev_video_mode = g_settings.video_Mode; - g_settings.analog_mode1 = configfile.getInt32("analog_mode1", 0); // default RGB - g_settings.analog_mode2 = configfile.getInt32("analog_mode2", 0); // default RGB + // video + prev_video_mode = g_settings.video_Mode = configfile.getInt32("video_Mode", VIDEO_STD_1080I50); // VIDEO_STD_720P50 + g_settings.analog_mode1 = configfile.getInt32("analog_mode1", (int)ANALOG_SD_RGB_SCART); // default RGB + g_settings.analog_mode2 = configfile.getInt32("analog_mode2", (int)ANALOG_SD_YPRPB_CINCH); // default YPBPR g_settings.hdmi_cec_mode = configfile.getInt32("hdmi_cec_mode", 0); // default off g_settings.hdmi_cec_view_on = configfile.getInt32("hdmi_cec_view_on", 0); // default off g_settings.hdmi_cec_standby = configfile.getInt32("hdmi_cec_standby", 0); // default off