diff options
author | David Thompson <dthompson2@worcester.edu> | 2015-02-15 13:52:31 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-02-15 14:33:38 -0500 |
commit | 91c6e7263b217d873ce86173340d487e401a3296 (patch) | |
tree | f7c840939294218b8f46ada1ad3842c739c760a4 | |
parent | 42aea2a77e5ca2ab2adc944441f95916d3cb2d19 (diff) |
subrip: Fix reversed subtitle lines.
* srt2vtt/subrip.scm (read-subrip): Reverse lines when finished parsing
to preserve the correct order.
-rw-r--r-- | srt2vtt/subrip.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/srt2vtt/subrip.scm b/srt2vtt/subrip.scm index dd3b53f..0031db3 100644 --- a/srt2vtt/subrip.scm +++ b/srt2vtt/subrip.scm @@ -58,7 +58,7 @@ two values: the start time and the end time. Valid input looks like (and (string-null? line) ;; A subtitle may be a blank line! (not (null? lines)))) - lines + (reverse lines) (loop (cons line lines))))))) (make-subtitle id start end lines))) |