mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
gui/videosettings.cpp: fix video mode switch ask,
fix menu redraw after video mode switch
Origin commit data
------------------
Branch: ni/coolstream
Commit: e30f93c776
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-12-17 (Mon, 17 Dec 2012)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -315,9 +315,9 @@ void CVideoSettings::setupVideoSystem(bool do_ask)
|
||||
g_settings.video_Mode = prev_video_mode;
|
||||
videoDecoder->SetVideoSystem(g_settings.video_Mode);
|
||||
}
|
||||
else
|
||||
prev_video_mode = g_settings.video_Mode;
|
||||
}
|
||||
else
|
||||
prev_video_mode = g_settings.video_Mode;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -358,6 +358,7 @@ bool CVideoSettings::changeNotify(const neutrino_locale_t OptionName, void * /*
|
||||
else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_VIDEOMENU_VIDEOMODE))
|
||||
{
|
||||
setupVideoSystem(true/*ask*/);
|
||||
return true;
|
||||
}
|
||||
#if 0
|
||||
else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_VIDEOMENU_CONTRAST))
|
||||
|
Reference in New Issue
Block a user