1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-30 19:22:11 +00:00
mpv/sub
Clément Bœsch 3e0a270559 subassconvert: handle "\r\n" line ends
Previously the code converting text subtitles to ASS format converted
newline characters, and only those, to ASS "new line" markup. If the
subtitles contained "\r\n", the "\r" was thus left in the text. In
previous libass versions the "\r" was not visible, but in the current
one it produces an empty box. Improve the conversion to remove the
"\r" in that case. Also treat a lone "\r" as a newline.
2011-09-02 12:22:15 +03:00
..
ass_mp.c subs: libass: apply option changes to all track types 2011-08-08 07:02:01 +03:00
ass_mp.h subs: libass: apply option changes to all track types 2011-08-08 07:02:01 +03:00
av_sub.c aviheader.h: avoid including demuxer.h 2011-08-19 21:37:16 +03:00
av_sub.h
dec_sub.c
dec_sub.h
find_sub.c
find_subfiles.c bstr: rename BSTR() -> bstr() 2011-07-27 08:38:12 +03:00
find_subfiles.h subs: options: add -sub-paths 2011-04-20 04:22:52 +03:00
font_load_ft.c cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
font_load.c cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
font_load.h
osd_font.h
sd_ass.c aviheader.h: avoid including demuxer.h 2011-08-19 21:37:16 +03:00
sd.h
spudec.c cleanup: shut up more warnings 2011-05-06 18:33:16 +03:00
spudec.h
sub_cc.c
sub_cc.h
sub.c core: allocate OSD text buffers dynamically 2011-08-09 03:28:58 +03:00
sub.h core: allocate OSD text buffers dynamically 2011-08-09 03:28:58 +03:00
subassconvert.c subassconvert: handle "\r\n" line ends 2011-09-02 12:22:15 +03:00
subassconvert.h
subreader.c subreader: SAMI subs: wrap line if needed 2011-06-29 11:28:46 +03:00
subreader.h find_subfiles: move sub_filenames() here 2011-04-20 04:22:52 +03:00
unrar_exec.c
unrar_exec.h
vobsub.c cleanup: vobsub.c: simplify parsing 2011-07-06 13:01:07 +03:00
vobsub.h options: change -alang and -slang to use string list type 2011-04-20 04:22:42 +03:00