add support for seeking to a keyframe instead of a random frame