From 7645b447be45b71f52a075d162a3d0940ed3967a Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 19 May 2014 16:32:22 -0700 Subject: [PATCH] Set the correct variable for whether to commit subs after opening video --- src/video_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_context.cpp b/src/video_context.cpp index c41a9bcc4..2d762c892 100644 --- a/src/video_context.cpp +++ b/src/video_context.cpp @@ -126,7 +126,7 @@ void VideoContext::SetVideo(const agi::fs::path &filename) { keyframes = video_provider->GetKeyFrames(); video_fps = video_provider->GetFPS(); - bool needs_commit = UpdateVideoProperties(context->ass.get(), video_provider, context->parent); + commit_subs = UpdateVideoProperties(context->ass.get(), video_provider, context->parent); // Set frame rate if (ovr_fps.IsLoaded()) {