mirror of
https://github.com/mpv-player/mpv
synced 2024-12-30 19:22:11 +00:00
3e0a270559
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. |
||
---|---|---|
.. | ||
ass_mp.c | ||
ass_mp.h | ||
av_sub.c | ||
av_sub.h | ||
dec_sub.c | ||
dec_sub.h | ||
find_sub.c | ||
find_subfiles.c | ||
find_subfiles.h | ||
font_load_ft.c | ||
font_load.c | ||
font_load.h | ||
osd_font.h | ||
sd_ass.c | ||
sd.h | ||
spudec.c | ||
spudec.h | ||
sub_cc.c | ||
sub_cc.h | ||
sub.c | ||
sub.h | ||
subassconvert.c | ||
subassconvert.h | ||
subreader.c | ||
subreader.h | ||
unrar_exec.c | ||
unrar_exec.h | ||
vobsub.c | ||
vobsub.h |