mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Merge pull request #2031 from ivandrofly/frame-sf
[Bugfix] - Fix issue with frame subtitle format.
This commit is contained in:
commit
b9923e8263
@ -6781,7 +6781,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
}
|
||||
|
||||
var duration = GetDurationInMilliseconds();
|
||||
if (duration > 0 && duration < 100000 && duration != last.Duration.TotalMilliseconds)
|
||||
if (duration > 0 && duration < 100000 && Math.Abs(duration - last.Duration.TotalMilliseconds) > 0.5)
|
||||
{
|
||||
last.EndTime.TotalMilliseconds = last.StartTime.TotalMilliseconds + duration;
|
||||
SubtitleListview1.SetDuration(_subtitleListViewIndex, last);
|
||||
|
Loading…
Reference in New Issue
Block a user