set seek mode to keyframe to avoid video glitches when seeking to a non-keyframe position