aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2014-02-18 19:25:38 +0100
committerJonathan Marshall <jmarshall@xbmc.org>2014-02-22 09:04:47 +1300
commit37034f54f551fbe7519a12a52e1702fa210a9125 (patch)
tree775b374fbc65a7e8112b38e9f7233f7fa9e734c9
parentc13a3d4af22d5a2443fadaeeb4cd70cf2d8154e2 (diff)
[osx] - revert part of 5cdc1bfb8bbf52438b9ad69bd09ea3dc3ef8669a - it was plain bs from me. Fixes no audio after startup when refreshrate adaption is enabled (this came up as a bug with new activeae now as it listens to ondevicelost messages and therefore suspends the audio engine ;) ).
-rw-r--r--xbmc/windowing/osx/WinSystemOSX.mm6
1 files changed, 0 insertions, 6 deletions
diff --git a/xbmc/windowing/osx/WinSystemOSX.mm b/xbmc/windowing/osx/WinSystemOSX.mm
index c26fa83235..976e7b2a88 100644
--- a/xbmc/windowing/osx/WinSystemOSX.mm
+++ b/xbmc/windowing/osx/WinSystemOSX.mm
@@ -798,12 +798,6 @@ bool CWinSystemOSX::SetFullScreen(bool fullScreen, RESOLUTION_INFO& res, bool bl
{
if (m_can_display_switch)
{
- // send pre-configuration change now and do not
- // wait for switch videomode callback. This gives just
- // a little more advanced notice of the display pre-change.
- if (CSettings::Get().GetInt("videoplayer.adjustrefreshrate") != ADJUST_REFRESHRATE_OFF)
- CheckDisplayChanging(kCGDisplayBeginConfigurationFlag);
-
// switch videomode
SwitchToVideoMode(res.iWidth, res.iHeight, res.fRefreshRate, res.iScreen);
m_lastDisplayNr = res.iScreen;