After lots of testing, i realized that the problem is because of this> Open Settings -> General, and check if Seek by keyframes (Avi and Mkv files) is clicked. It must be clicked (selected, ticked) so the player wouldn’t freeze. I hope I helped you all. Cheers!