[APPLE TV 4] Playback issues when using 50 Hz and Sync playback to display

Device: Apple TV 4, tvOS 10.0.1
Kodi: 17.0-BETA5 Git:2016-11-08-73aa459
Log: https://paste.ubuntu.com/23522728/

Issue:
When using 50 Hz refresh rate (both 1080p and 720p resolution) set in the Apple TV settings and “Sync playback to display” turned on in Kodi, the audio stutters once every second or so, there is also intense video jitter noticeable. This happens for both 23.976 FPS and 25 FPS videos.

25 FPS videos are played smooth at 50 Hz with “Sync playback to display” turned off which is expected. But when turned on there is both audio stutter and video jitter which I don’t understand since there is not adjustment needed for the video to match the display.

When using 60 Hz refresh rate the audio is fine and both 23.976 FPS and 25 FPS videos are played smooth (at least smoother than when turned off). So this only happens when using 50 Hz. I’ve tested on two different ATV4 devices against two different TV sets, same result.