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:
eugeni 2006-10-29 13:52:51 +00:00
parent ec9819db2c
commit 870ed1a164
1 changed files with 2 additions and 2 deletions

View File

@ -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)) {