From ce29d071137473fcdac7771f660d51f9b3810bf5 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Fri, 6 Jun 2014 18:38:35 -0700 Subject: [PATCH] Remove an entirely pointless GUI-thread-blocking call to GetFrame --- src/video_controller.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/video_controller.cpp b/src/video_controller.cpp index c5468e6f3..1ea315a50 100644 --- a/src/video_controller.cpp +++ b/src/video_controller.cpp @@ -79,8 +79,6 @@ void VideoController::OnSubtitlesCommit(int type, std::set provider->LoadSubtitles(context->ass.get()); else provider->UpdateSubtitles(context->ass.get(), changed); - if (!IsPlaying()) - provider->GetFrame(frame_n, TimeAtFrame(frame_n)); } void VideoController::OnActiveLineChanged(AssDialogue *line) {