Set the correct variable for whether to commit subs after opening video
This commit is contained in:
parent
6edb38501b
commit
7645b447be
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ void VideoContext::SetVideo(const agi::fs::path &filename) {
|
||||||
keyframes = video_provider->GetKeyFrames();
|
keyframes = video_provider->GetKeyFrames();
|
||||||
video_fps = video_provider->GetFPS();
|
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
|
// Set frame rate
|
||||||
if (ovr_fps.IsLoaded()) {
|
if (ovr_fps.IsLoaded()) {
|
||||||
|
|
Loading…
Reference in a new issue