[MPlayer-cvslog] r20511 - trunk/libass/ass_mp.c
eugeni
subversion at mplayerhq.hu
Sun Oct 29 14:52:52 CET 2006
Author: eugeni
Date: Sun Oct 29 14:52:51 2006
New Revision: 20511
Modified:
trunk/libass/ass_mp.c
Log:
Add \N at the end of each subtitle line when converting from subdata.
Modified: trunk/libass/ass_mp.c
==============================================================================
--- trunk/libass/ass_mp.c (original)
+++ trunk/libass/ass_mp.c Sun Oct 29 14:52:51 2006
@@ -166,9 +166,9 @@
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)) {
More information about the MPlayer-cvslog
mailing list