ffmpeg-bb/tests/ref/fate/sub-subripenc
Kacper Michajłow 5c95e8e3a6 avcodec/srtenc: don't produce SRT files with mixed line endings
Initially, avcodec/srtenc.c was outputting CRLF [1]. Later, a real SRT
muxer was added [2], which outputs LF. The original srtenc.c was
converted to use the muxer [3], changing its output to LF, except for
newline characters within subtitle text.

Fix this to avoid producing SRT files with mixed line endings.

[1] 8e43b6fed9
[2] 9e63c30daa
[3] 55180b3299

Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
2025-08-03 17:27:35 +00:00

15 lines
255 B
Plaintext

1
00:00:00,970 --> 00:00:02,540
<font face="Serif" size="18">- Test 1.
- Test 2.</font>
2
00:00:03,050 --> 00:00:04,740
<font face="Serif" size="18">Test 3.</font>
3
00:00:05,850 --> 00:00:08,140
<font face="Serif" size="18">- Test 4.
- Test 5.</font>