Kodi have a “bug” in frame skip.
When it’s only one frame off it does not fix it. So this 41ms.
So it only adjust if it’s ±2 frames. But this is because like maybe 15 frames later it’s good again, or maybe never.
I did now add a short work around to sync on really the exact frame.
But this maybe lead to “stutter” as much more frames are skipped.
Please test with this new image, watch 20-30s. Then skip backwards when you say it’s then in sync. Watch again like 5s, this should be enough.
And same kodi.log…