Commit f7b2e168 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix 1 frame offset in subtitles when removing space

parent ef813c9c
Pipeline #141110 passed with stage
in 9 minutes and 58 seconds
...@@ -1235,5 +1235,5 @@ int SubtitleModel::getBlankStart(int pos) const ...@@ -1235,5 +1235,5 @@ int SubtitleModel::getBlankStart(int pos) const
found = true; found = true;
} }
} }
return found ? min.frames(pCore->getCurrentFps()) + 1 : 0; return found ? min.frames(pCore->getCurrentFps()) : 0;
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment