Kodi 17 slow when seeking video

I have tried all beta versions of Kodi 17.0 along with some nightly builds to get rid of the 1 to 2 seconds it takes Kodi to switch from one point of a video to another, to no avail.
I have a library of video files stored locally in my computer’s hard drive. When a video is playing, if I try to move from 00:00:01 to 00:30:00, it takes Kodi about 1 to 2 seconds to start playing from there, something that should happen without a single delay. It shows “Buffering” while it’s trying to play the video from the specified time. This wasn’t the case with Kodi 16. Any ideas to eliminate this would be appreciated.

I’ve already tried adding the following to advancedsettings.xml:

Code:
<cache>
<buffermode>1</buffermode>        
<memorysize>31457280</memorysize>
<readfactor>4.0</readfactor>
</cache>

Thanks.

Log file here.