From 37034f54f551fbe7519a12a52e1702fa210a9125 Mon Sep 17 00:00:00 2001 From: Memphiz Date: Tue, 18 Feb 2014 19:25:38 +0100 Subject: [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 ;) ). --- xbmc/windowing/osx/WinSystemOSX.mm | 6 ------ 1 file changed, 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; -- cgit v1.2.3