2011-01-06, 01:17
I have 2 displays connected to Mac OS X: VGA monitor and Plasma TV (via HDMI cable).
VGA monitor is primary display in Mac OS.
XBMC is configured to run on the secondary display (plasma). I also have Sync playback to display turned on in Video -> Playback settings window.
The problem is that XBMC gets the refresh rate from primary display (it is set to 1360x768@60Hz) instead of secondary one which is actually running at 1280x720@50Hz.
It seems to me that the problem is in Cocoa_GL_GetCurrentDisplayID() function from CocoaInterface.mm source file. Line
sets context to nil and Cocoa_GL_GetCurrentDisplayID returns main display ID
VGA monitor is primary display in Mac OS.
XBMC is configured to run on the secondary display (plasma). I also have Sync playback to display turned on in Video -> Playback settings window.
The problem is that XBMC gets the refresh rate from primary display (it is set to 1360x768@60Hz) instead of secondary one which is actually running at 1280x720@50Hz.
It seems to me that the problem is in Cocoa_GL_GetCurrentDisplayID() function from CocoaInterface.mm source file. Line
Code:
NSOpenGLContext* context = [NSOpenGLContext currentContext];