[MPlayer-cvslog] r19912 - trunk/libass/ass_render.c

eugeni subversion at mplayerhq.hu
Tue Sep 19 20:23:36 CEST 2006


Author: eugeni
Date: Tue Sep 19 20:23:36 2006
New Revision: 19912

Modified:
   trunk/libass/ass_render.c

Log:
Sort events by ReadOrder (if both layer and start time are equal).


Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c	(original)
+++ trunk/libass/ass_render.c	Tue Sep 19 20:23:36 2006
@@ -1914,6 +1914,10 @@
 		return -1;
 	if (e1->Start > e2->Start)
 		return 1;
+	if (e1->ReadOrder < e2->ReadOrder)
+		return -1;
+	if (e1->ReadOrder > e2->ReadOrder)
+		return 1;
 	return 0;
 }
 



More information about the MPlayer-cvslog mailing list