srt timestamps must include milliseconds, fixes #2550
This commit is contained in:
parent
bb931c006f
commit
50b344321e
1 changed files with 1 additions and 1 deletions
|
@ -748,7 +748,7 @@ Ox.formatSRT = function(subtitles) {
|
|||
return [
|
||||
index + 1,
|
||||
['in', 'out'].map(function(key) {
|
||||
return Ox.formatDuration(subtitle[key]).replace('.', ',');
|
||||
return Ox.formatDuration(subtitle[key], 3).replace('.', ',');
|
||||
}).join(' --> '),
|
||||
subtitle['text']
|
||||
].join('\n')
|
||||
|
|
Loading…
Reference in a new issue