Merge pull request #842 from timhobbs/upstream-master
Fix for VTT writer
This commit is contained in:
commit
f0d8dbefdb
|
@ -19,7 +19,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
|||
cancellationToken.ThrowIfCancellationRequested();
|
||||
|
||||
writer.WriteLine(@"{0:hh\:mm\:ss\.fff} --> {1:hh\:mm\:ss\.fff}", TimeSpan.FromTicks(trackEvent.StartPositionTicks), TimeSpan.FromTicks(trackEvent.EndPositionTicks));
|
||||
writer.WriteLine(trackEvent.Text);
|
||||
writer.WriteLine(trackEvent.Text.Replace("<br />", "\r\n"));
|
||||
writer.WriteLine(string.Empty);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user