Fix bug in BinEdit BDN/XML writing - thx von Suppé :)

This commit is contained in:
Nikolaj Olsson 2024-03-17 10:50:06 +01:00
parent 99b843c2f0
commit 11c5934e11
2 changed files with 3 additions and 2 deletions

View File

@ -55,7 +55,8 @@
* Fix crash in "Fix commo errors" - thx dramirvf
* Fix auto generate waveform with video with empty audio - thx LeonCheung
* Fix a few broken spell check dictionary links
* Fix removing italic when toggling music symbols - thx Charvelx04
* Fix removing italic when toggling music symbols - thx Charvelx04
* Fix bug in BinEdit BDN/XML writing - thx von Suppé
4.0.3 (23rd December 2023)

View File

@ -1534,7 +1534,7 @@ namespace Nikse.SubtitleEdit.Forms.BinaryEdit
if (convertToSmpte)
{
startTime = new TimeCode(startTime.TotalMilliseconds / 1.001);
endTime = new TimeCode(startTime.TotalMilliseconds / 1.001);
endTime = new TimeCode(endTime.TotalMilliseconds / 1.001);
}
sb.AppendLine("<Event InTC=\"" + ToHHMMSSFF(startTime) + "\" OutTC=\"" + ToHHMMSSFF(endTime) + "\" Forced=\"" + extra.IsForced.ToString().ToLowerInvariant() + "\">");