mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
auto video mode fix; enable key repeat for number and string choosers menu items
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@731 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: e1097960b0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-08-19 (Thu, 19 Aug 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1026,8 +1026,17 @@ printf("CAllUsalsNotifier::changeNotify: %s\n", onoff ? "ON" : "OFF");
|
||||
return true;
|
||||
}
|
||||
|
||||
extern CMenuOptionChooser::keyval_ext VIDEOMENU_VIDEOMODE_OPTIONS[];
|
||||
bool CAutoModeNotifier::changeNotify(const neutrino_locale_t /*OptionName*/, void * /* data */)
|
||||
{
|
||||
videoDecoder->SetAutoModes(g_settings.enabled_video_modes);
|
||||
int i;
|
||||
int modes[VIDEO_STD_MAX+1];
|
||||
|
||||
memset(modes, 0, sizeof(int)*VIDEO_STD_MAX+1);
|
||||
|
||||
for(i = 0; i < VIDEOMENU_VIDEOMODE_OPTION_COUNT; i++) {
|
||||
modes[VIDEOMENU_VIDEOMODE_OPTIONS[i].key] = g_settings.enabled_video_modes[i];
|
||||
}
|
||||
videoDecoder->SetAutoModes(modes);
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user