mirror of https://github.com/mpv-player/mpv
Add \N at the end of each subtitle line when converting from subdata.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20511 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ec9819db2c
commit
870ed1a164
|
@ -166,9 +166,9 @@ int ass_process_subtitle(ass_track_t* track, subtitle* sub)
|
|||
p += snprintf(p, end - p, "{\\an%d}", sub->alignment);
|
||||
|
||||
for (j = 0; j < sub->lines; ++j)
|
||||
p += snprintf(p, end - p, "%s ", sub->text[j]);
|
||||
p += snprintf(p, end - p, "%s\\N", sub->text[j]);
|
||||
|
||||
p--; // remove last ' '
|
||||
p-=2; // remove last ' '
|
||||
*p = 0;
|
||||
|
||||
if (check_duplicate_plaintext_event(track)) {
|
||||
|
|
Loading…
Reference in New Issue