Make SeekToFrameExtractor thread safe.
Handle surface changes.