Skip to content

Commit bed40ac

Browse files
committed
Add workaround to refresh the gui in the case playback starts at the last second
1 parent 63230ae commit bed40ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,8 @@ void Core::restoreSettingsForMedia(const QString & name, int type) {
415415
changeAspectRatio(mset.aspect_ratio_id);
416416
}
417417

418+
if (mset.current_sec > 1) mset.current_sec -= 1;
419+
418420
if (!pref->remember_time_pos) {
419421
mset.current_sec = 0;
420422
qDebug("Core::restoreSettingsForMedia: time pos reset to 0");

0 commit comments

Comments
 (0)