xbmc
xbmc copied to clipboard
VideoSync - change in behavior?!? Or does it work at all?
The last time i helped implementing the videosyncosx i think i remember doing the following test:
- Drove both monitors with different refreshrates.
- Enabled sync to display in player settings.
- Started video playback
- Enabled the video debug overlay (which showed the detected refreshrate)
- Moved the window between the screens.
- Back then we implemted it that way, that the detected refreshrate was updated automagically when moving between the screens.
Observation with current branch:
- When playing back in windowed mode on a 75hz screen - videosyncosx detects 60hz
- When moving the window between screens - nothing seems to change
- When going fullscreen - nothing seems to change.
I can't find that real time debug display anymore, but just looked into the debug log.
Either something got badly broken in the refactor, or it got broken before, or the behavior changed somewhere else.
@FernetMenta any idea? (for testing this you need to pull from the branch because i readded the GetVideoSync method in windowing which got lost ...)
mhh i enabled refresh rate adaption in addition to "sync to display" - at least it now detects the correct refreshrate from the display - but its not updated when i move the window between the screens.
This is the code that was supposed to tell kodi that the refreshrate might have changed:
https://github.com/xbmc/xbmc/blob/osxremovesdl/xbmc/windowing/osx/OSXScreenManager.mm#L641
I haven't looked into this so far
This issue is now marked stale because it has been open over a year without activity. Remove the stale label or add a comment to reset the stale state.