Set the correct variable for whether to commit subs after opening video

This commit is contained in:
Thomas Goyne 2014-05-19 16:32:22 -07:00
parent 6edb38501b
commit 7645b447be

View file

@ -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()) {