Permalink
Browse files

settings: update videoscreen.screenmode value when updating to Frodo

  • Loading branch information...
1 parent 4709873 commit d74f40316220d9998937f6dc3f7a01329c111f4c @Montellese Montellese committed Nov 22, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 xbmc/settings/GUISettings.cpp
@@ -1383,6 +1383,17 @@ void CGUISettings::LoadXML(TiXmlElement *pRootElement, bool hideSettings /* = fa
}
}
+ // and fix the videoscreen.screenmode if necessary
+ std::string screenmode = GetString("videoscreen.screenmode");
+ // in Eden there was no character ("i" or "p") indicating interlaced/progressive
+ // at the end so we just add a "p" and assume progressive
+ if (screenmode.size() == 20)
+ {
+ screenmode += "p";
+ SetString("videoscreen.screenmode", screenmode.c_str());
+ updated = true;
+ }
+
// Get hardware based stuff...
CLog::Log(LOGNOTICE, "Getting hardware information now...");
// FIXME: Check if the hardware supports it (if possible ;)

0 comments on commit d74f403

Please sign in to comment.