Merge pull request #842 from timhobbs/upstream-master

Fix for VTT writer
This commit is contained in:
Luke 2014-06-12 20:52:12 -04:00
commit f0d8dbefdb

View File

@ -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);
}
}