Bug fix: there was a possibility of deadlock when calling abort while the VideoEngine thread was waiting for getFrameRange to be finished