summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch
diff options
context:
space:
mode:
authorNathan Harris <nharris@eoimaging.com>2009-05-14 23:09:13 (GMT)
committerNathan Harris <nharris@eoimaging.com>2009-05-14 23:09:13 (GMT)
commit62cb29a6151a9aacb0300c0681b3bc45a92ec0c2 (patch)
treeb832a22860180ed5f1894677751be3857cbe6011 /abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch
parentef3be6739dffc0d4b6e763b5bdf209da5634d458 (diff)
downloadlinhes_pkgbuild-62cb29a6151a9aacb0300c0681b3bc45a92ec0c2.zip
linhes_pkgbuild-62cb29a6151a9aacb0300c0681b3bc45a92ec0c2.tar.gz
linhes_pkgbuild-62cb29a6151a9aacb0300c0681b3bc45a92ec0c2.tar.bz2
First cut at XBMC (svn with vdpau)
Diffstat (limited to 'abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch')
-rw-r--r--abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch b/abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch
new file mode 100644
index 0000000..d112e52
--- /dev/null
+++ b/abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch
@@ -0,0 +1,23 @@
+Index: xbmc/Application.cpp
+===================================================================
+--- xbmc/Application.cpp (revision 20059)
++++ xbmc/Application.cpp (working copy)
+@@ -873,6 +873,8 @@
+ #endif
+
+ // set GUI res and force the clear of the screen
++ if (g_guiSettings.GetBool("videoscreen.safefull"))
++ g_guiSettings.m_LookAndFeelResolution = AUTORES;
+ g_graphicsContext.SetVideoResolution(g_guiSettings.m_LookAndFeelResolution, TRUE, true);
+
+ #ifdef _WIN32PC
+@@ -949,6 +951,9 @@
+ time(&seconds);
+ srand((unsigned int)seconds);
+
++ if (g_guiSettings.GetBool("videoscreen.safefull"))
++ g_graphicsContext.ToggleFullScreenRoot();
++
+ return CXBApplicationEx::Create(hWnd);
+ }
+