From e5180c47328987174a47219c465ff30a92340b86 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 8 Aug 2010 15:08:40 +0200 Subject: [PATCH] neutrino: add video output format setting for TD --- src/gui/videosettings.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/gui/videosettings.cpp b/src/gui/videosettings.cpp index 4bf0bf0e2..7a98d8634 100644 --- a/src/gui/videosettings.cpp +++ b/src/gui/videosettings.cpp @@ -104,6 +104,13 @@ const CMenuOptionChooser::keyval VIDEOMENU_43MODE_OPTIONS[VIDEOMENU_43MODE_OPTIO //{ 2, LOCALE_VIDEOMENU_AUTO } // whatever is this auto mode, it seems its totally broken }; +#define VIDEOMENU_VIDEOSIGNAL_TD_OPTION_COUNT 2 +const CMenuOptionChooser::keyval VIDEOMENU_VIDEOSIGNAL_TD_OPTIONS[VIDEOMENU_VIDEOSIGNAL_TD_OPTION_COUNT] = +{ + { ANALOG_SD_RGB_SCART, LOCALE_VIDEOMENU_ANALOG_SD_RGB_SCART }, + { ANALOG_SD_YPRPB_SCART, LOCALE_VIDEOMENU_ANALOG_SD_YPRPB_SCART } +}; + #define VIDEOMENU_VIDEOSIGNAL_HD1_OPTION_COUNT 8 const CMenuOptionChooser::keyval VIDEOMENU_VIDEOSIGNAL_HD1_OPTIONS[VIDEOMENU_VIDEOSIGNAL_HD1_OPTION_COUNT] = { @@ -215,6 +222,10 @@ int CVideoSettings::showVideoSetup() vs_chinch_ch = new CMenuOptionChooser(LOCALE_VIDEOMENU_CINCH, &g_settings.analog_mode2, VIDEOMENU_VIDEOSIGNAL_HD1PLUS_CINCH_OPTIONS, VIDEOMENU_VIDEOSIGNAL_HD1PLUS_CINCH_OPTION_COUNT, true, this); } + else if (system_rev == 0x01) /* TRIPLEDRAGON hack... :-) */ + { + vs_scart_ch = new CMenuOptionChooser(LOCALE_VIDEOMENU_SCART, &g_settings.analog_mode1, VIDEOMENU_VIDEOSIGNAL_TD_OPTIONS, VIDEOMENU_VIDEOSIGNAL_TD_OPTION_COUNT, true, this); + } //4:3 mode CMenuOptionChooser * vs_43mode_ch = new CMenuOptionChooser(LOCALE_VIDEOMENU_43MODE, &g_settings.video_43mode, VIDEOMENU_43MODE_OPTIONS, VIDEOMENU_43MODE_OPTION_COUNT, true, this);